summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testArraySpeciesDelete.js
blob: 8677d22547181bee8729f58e8d89e4b7c80ef37b (plain)
1
2
3
4
5
delete Array[Symbol.species];
var a = [1, 2, 3].slice(1);
assertEq(a.length, 2);
assertEq(a[0], 2);
assertEq(a[1], 3);