]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/new-double-array-with-size.js
8 var result
= foo(size
);
9 if (result
.length
!= size
)
10 throw "Error: bad result: " + result
;
11 var sawThings
= false;
15 throw "Error: array is in bad state: " + result
;
17 if (result
[0] != 42.5)
18 throw "Error: array is in wierd state: " + result
;
21 for (var i
= 0; i
< 100000; ++i
) {