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