]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/int16-put-by-val-out-of-bounds-bounds-then-do-in-bounds.js
7 function test(length
, expected
) {
8 var a
= new Int16Array(length
);
11 if (result
!= expected
)
12 throw "Error: bad value at a[42]: " + result
;
15 for (var i
= 0; i
< 100000; ++i
)