michael@0: //|jit-test| error:TypeError michael@0: RegExp("").exec() michael@0: Object.defineProperty(this, "x", { michael@0: get: function() { michael@0: return new Array michael@0: } michael@0: }) michael@0: Object.defineProperty(this, "y", { michael@0: get: function() { michael@0: return [function() {}, 0, 0, 0, 0, 0, 0] michael@0: } michael@0: }) michael@0: r = RegExp(""); michael@0: uneval(undefined) michael@0: with({ michael@0: b: gczeal(9, 2) michael@0: }); michael@0: r = /()/; michael@0: y.sort(function(j) { michael@0: if (j) { michael@0: a = michael@0: new michael@0: Array michael@0: } else { michael@0: x.v() michael@0: } michael@0: })