1 2 3 4 5 6 7 8 9 10 11 12
// Test that the SharedArrayBuffer memory is properly zeroed. function f() { var x = new SharedArrayBuffer(4096); var y = new Int32Array(x); assertEq(y[0], 0); assertEq(y[1], 0); assertEq(y[1023], 0); } if (this.SharedArrayBuffer) f();