summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1770904.js
blob: c664edfaa4e6429c43efd29b31f3688147dca8e9 (plain)
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);
}