summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1168667.js
blob: ce3a7fc4d644f6fb8c13403e12ff620f612bdb8c (plain)
1
2
3
4
5
6
for each(var x in [{n: 1}, {n: 1}, {n: 1}, {n: 1}, {n: 1}, {n: 1}, {n: 1},
                   {n: 1}, {n: 1}, {n: 1}, {n: 1}, {n: 1}, {n: 1}, {n: 1},
                   {n: 1}, {n: 1}, {n: 1}, {n: 1}, {n: 1}, {n: 1}]) {
    x[0] = 0;
    Object.freeze(x);
}