3 var array
= new Array(10000);
5 for (var i
= 0; i
< 70000; ++i
)
6 array
[i
% array
.length
] = new Int8Array(new ArrayBuffer(10));
8 for (var i
= 0; i
< array
.length
; ++i
) {
9 if (array
[i
].length
!= 10)
10 throw "Error: bad length: " + array
[i
].length
;
11 if (array
[i
].buffer
.byteLength
!= 10)
12 throw "Error: bad buffer.byteLength: " + array
[i
].buffer
.byteLength
;