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

var o = {a:1, b:2};
o.watch("p", function() { return 13; });
delete o.p;
o.p = 0;
assertEq(o.p, 13);

reportCompare(0, 0, 'ok');