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