michael@0: // |jit-test| error: TypeError michael@0: Object = function () {}; michael@0: var p = Proxy.create({}); michael@0: Object.prototype.__proto__ = p; michael@0: function newFunc(x) { new Function(x)(); }; michael@0: newFunc('\ michael@0: function f(v, value) {\ michael@0: "failed: " + v + " " + value\ michael@0: }\ michael@0: f({}, false);\ michael@0: f(Object.prototype, false);\ michael@0: ');