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