js/src/tests/js1_8_5/extensions/regress-631723.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:c5a990d34126
1 // Any copyright is dedicated to the Public Domain.
2 // http://creativecommons.org/licenses/publicdomain/
3
4 var o = {a:1, b:2};
5 o.watch("p", function() { return 13; });
6 delete o.p;
7 o.p = 0;
8 assertEq(o.p, 13);
9
10 reportCompare(0, 0, 'ok');

mercurial