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