1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Any copyright is dedicated to the Public Domain. // http://creativecommons.org/licenses/publicdomain/ // Bug 627984 description. var o = Array; o.p = function() {}; o.watch('p', function() { }); for(var x in o) { o[x]; } delete o.p; o.p = function() {}; assertEq(o.p, void 0); reportCompare(0, 0, 'ok');