michael@0: // |jit-test| error: TypeError michael@0: michael@0: var glob = this; michael@0: var arr = []; michael@0: Object.defineProperty(arr, 0, { michael@0: get: (function() { michael@0: glob.__proto__; michael@0: }) michael@0: }); michael@0: this.watch("s", function() {}); michael@0: try { michael@0: arr.pop(); michael@0: } catch (e) {} michael@0: arr.pop();