Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | for (var i = 0; i < 5; ++i) { |
michael@0 | 2 | var o = {} |
michael@0 | 3 | Object.defineProperty(o, 'x', { value:"cow", writable:false }); |
michael@0 | 4 | var r = o.watch('x', function() {}); |
michael@0 | 5 | assertEq(r, undefined); |
michael@0 | 6 | o.x = 4; |
michael@0 | 7 | } |