summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug830967.js
blob: 3fe77edc6047b605decf373e0a362af8a6b97e08 (plain)
1
2
3
4
var x = Array.prototype.concat.call(Object.freeze([{}]));
assertEq(x.length, 1);
assertEq(0 in x, true);
assertEq(JSON.stringify(x[0]), "{}");