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

// Bug 627984 comment 11.
var o = ({});
o.p = function() {};
o.watch('p', function() { });
o.q = function() {}
delete o.p;
o.p = function() {};
assertEq(o.p, void 0);

reportCompare(0, 0, 'ok');