summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug746370.js
blob: c8158eb21ab2b5e4a53f4b1eaf5f2b049dc69bd7 (plain)
1
2
3
4
5
6
7
var a = ['p', 'q', 'r', 's', 't'];
var o = {p:1, q:2, r:(1), s:4, t:5};
for (var i in o) {
    delete o.p;
}
for (var i of a)
  assertEq(o.hasOwnProperty(i), i != 'p');