michael@0: // |jit-test| debug michael@0: michael@0: function f(){ michael@0: this.zzz.zzz; michael@0: for(let d in []); michael@0: } michael@0: trap(f, 16, '') michael@0: try { michael@0: f() michael@0: } catch(e) { michael@0: caught = true; michael@0: assertEq(""+e, "TypeError: this.zzz is undefined"); michael@0: } michael@0: assertEq(caught, true);