summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testAssigningWatchedDeletedProperty.js
blob: c22eabed0877870d22a390456d2a8e1d8bc8966f (plain)
1
2
3
4
5
6
7
var o = {};
o.watch("p", function() { });

for (var i = 0; i < 10; i++) {
    o.p = 123;
    delete o.p;
}