summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arrays/new-array-undefined-undefined-more-args-2.js
blob: cf81504938f3f05e22824e6c6e05aa10662911e6 (plain)
1
2
3
4
5
6
for (var i = 0; i < 1e4; i++)
{
  assertEq(new Array(undefined, undefined, 1, 2, 3, 4).length,
           6,
           "bad, i: " + i);
}