blob: 8593e7223faecb9701832b05d8dccf116a92cb9d [file] [log] [blame] [edit]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
function test(array) {
return array.splice(0, 0);
}
noInline(test);
var array = [];
for (var i = 0; i < testLoopCount; ++i) {
shouldBe(Array.isArray(test(array)), true);
}