summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1373356.js
blob: bf0cef93e4488b330541fb6238038b646fd43d94 (plain)
1
2
3
4
5
6
// |jit-test| error:TypeError
x = [0, 0];
x.shift();
x.pop();
Object.preventExtensions(x);
x.unshift(0);