summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/ion/bug792166-1.js
blob: b620c9fb66bd8ba041ebabc60fefab8a30a2fe0e (plain)
1
2
3
4
5
6
7
8
Object.defineProperty(Object.prototype, 'x', {
    set: function() {}
});
var obj = {};
for (var i = 0; i < 100 ; ++i) {
    obj.x = 1;
    delete obj.x;
}