summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/define-frozen-dense.js
blob: 7a7e2a97f3456bd320d6729aa40f77454ba4a531 (plain)
1
2
3
4
5
6
7
8
9
var t = [4];
var stop;
Object.freeze(t);
do {
    stop = inIon();
    t[1] = 2;
    assertEq(t.length, 1);
    assertEq(t[1], undefined);
} while (!stop);