blob: 7c2494817556d5d1e072139db7f7ceec9c8afb59 [file] [log] [blame]
function test(){
var get = [];
var p = new Proxy(Function(), { get:function(){ return Proxy; }});
({}) instanceof p;
}
var exception;
try {
test();
} catch (e) {
exception = e;
}
if (exception != "TypeError: calling Proxy constructor without new is invalid")
throw "FAILED";