blob: 594199abcc9bb3eb747148ad55dcfda7f21284ef [file] [log] [blame]
//@ 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;
}