Source code

Revision control

Copy as Markdown

Other Tools

// |jit-test| --ion-limit-script-size=off
function f() {
var s = "for (var i = 0; i < 100; i++) {}; return 2;";
s += "var x = [" + "9,".repeat(100_000) + "];";
var g = Function(s);
assertEq(g(), 2);
}
f();