blob: d75b4b593a973f9e3e55ff273696dccba03a19c9 [file] [log] [blame]
function test() {
// CreateDynamicFunction -> GetPrototypeFromConstructor -> Get -> [[Get]]
var get = [];
var p = new Proxy(Function, { get: function(o, k) { get.push(k); return o[k]; }});
new p;
return get + '' === "prototype";
}
if (!test())
throw new Error("Test failed");