michael@0: /* Don't assert. */ michael@0: o1 = {}; michael@0: o1 = 2; michael@0: function f(o) { michael@0: o.hasOwnProperty("x"); michael@0: } michael@0: new f(o1); michael@0: f(o1);