blob: 05980c756042c4eadc1a050746bde19bff25bc97 [file] [log] [blame]
function test() {
var proxied = function(){};
var passed = false;
new new Proxy(proxied, {
construct: function (t, args) {
passed = t === proxied && args + "" === "foo,bar";
return {};
}
})("foo","bar");
return passed;
}
if (!test())
throw new Error("Test failed");