summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug633409-1.js
blob: 20eaa6cda58ee348e69d6f898df4cce51b71de1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// vim: set ts=8 sts=4 et sw=4 tw=99:
x = { a: 1, b: 2, c: 3, d: 4, e: 5, f: 6 };

for (i in x)
    delete x.d;

x = { a: 1, b: 2, c: 3, d: 4, e: 5, f: 6 };
y = [];
for (i in x)
    y.push(i)
    
assertEq(y[3], "d");