summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-635195.js
blob: 89980b05a86e41ac978fe210f393dea957a9a0e7 (plain)
1
2
3
4
5
6
7
8
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/

var obj = {set x(v) {}};
obj.watch("x", function() { delete obj.x; });
obj.x = "hi";  // don't assert

reportCompare(0, 0, 'ok');