summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arrays/new-array-int-undefined-args.js
blob: 56ac8e64d42822c020d32377b6638e8dbb011d61 (plain)
1
2
for (var i = 0; i < 1e4; i++)
  assertEq(new Array(0, undefined).length, 2, "bad, i: " + i);