]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/new-array-with-size-throw-exception-and-tear-off-arguments.js
3 return new Array(a
[0]);
12 for (var i
= 0; i
< 10000; ++i
) {
14 if (result
.length
!= 42)
15 throw "Error: bad result length: " + result
;
25 if (("" + didThrow
).indexOf("RangeError") != 0)
26 throw "Error: did not throw right exception: " + didThrow
;