summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testArrayBufferSpeciesDelete.js
blob: 02e515d325faad39345b251508718aaa4afaab02 (plain)
1
2
3
4
5
delete ArrayBuffer[Symbol.species];
var a = new Uint8Array(new Uint8Array([1, 2]));
assertEq(a.length, 2);
assertEq(a[0], 1);
assertEq(a[1], 2);