summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arrays/nonwritable-length-grow-capacity.js
blob: 160689bea0d5ccec9fe53d211cd3f1c5be306498 (plain)
1
2
var arr = Object.defineProperty([], "length", { writable: false, value: 12 });
arr[11] = true;