blob: 06f4783826daafd6718c3f7a9c1aecda67e9e742 [file] [log] [blame]
//@ requireOptions("--watchdog=10000", "--watchdog-exception-ok")
function main() {
runString(`
function bar(_a) {
eval(_a);
arguments.length = 0;
var array = [
arguments,
[0]
];
var result = 0;
for (var i = 0; i < 1000000; ++i)
result += array[i % array.length].length;
}
bar('bar()');
`);
main();
}
main();