1 2 3 4 5 6 7
var N = 100; var f = Function("return 0" + "+arguments[0]".repeat(N)); for (let i = 0; i < 10000; ++i) { assertEq(f(1), N); }