summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1372956.js
blob: c45fb085f001f0e3e5360c98282124ef947aac20 (plain)
1
2
3
4
5
// |jit-test| error: TypeError
x = {};
Array.prototype.push.call(x, 0);
Object.freeze(x);
Array.prototype.unshift.call(x, 0);