michael@0: // Any copyright is dedicated to the Public Domain. michael@0: // http://creativecommons.org/licenses/publicdomain/ michael@0: michael@0: var o = {a:1, b:2}; michael@0: o.watch("p", function() { return 13; }); michael@0: delete o.p; michael@0: o.p = 0; michael@0: assertEq(o.p, 13); michael@0: michael@0: reportCompare(0, 0, 'ok');