summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug633409-2.js
blob: 2d2a96adc1cc32f0c65e1eefef2a5ffacd4faca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

var o1 = {p1: 1};
var o2 = {p1: 1, p2: 2};

for(var x in o1) {
    for(var y in o2) {
        delete o2.p2;
    }
}

/* Don't fail cx->enumerators == obj assert, see bug comment #31 */