blob: c941ff4a7ea2f3e8bcce0628c139e4ba9421b2cd [file] [log] [blame]
function foo() {
"use strict";
return [...arguments];
}
noInline(foo);
for (var i = 0; i < 200000; ++i) {
var result = foo(i);
if (result[0] != i)
throw "Error: bad result: " + result;
}