diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/testAssigningWatchedDeletedProperty.js')
-rw-r--r-- | js/src/jit-test/tests/basic/testAssigningWatchedDeletedProperty.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/testAssigningWatchedDeletedProperty.js b/js/src/jit-test/tests/basic/testAssigningWatchedDeletedProperty.js new file mode 100644 index 000000000..c22eabed0 --- /dev/null +++ b/js/src/jit-test/tests/basic/testAssigningWatchedDeletedProperty.js @@ -0,0 +1,7 @@ +var o = {}; +o.watch("p", function() { }); + +for (var i = 0; i < 10; i++) { + o.p = 123; + delete o.p; +} |