blob: fa349ce89d9a99b8e39783a5146967b5a522556d [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
//@ skip
var array = new Array(10000);
for (var i = 0; i < 100000; ++i)
array[i % array.length] = new Int8Array(new ArrayBuffer(10)).buffer;
for (var i = 0; i < array.length; ++i) {
if (array[i].byteLength != 10)
throw "Error: bad byteLength: " + array[i].byteLength;
}