blob: d1df1499b0c63cdf3ffefa058d796f7415dc396b [file] [log] [blame]
function test() {
class C extends Array {}
var c = new C();
return c instanceof C && c instanceof Array && Object.getPrototypeOf(C) === Array;
}
if (!test())
throw new Error("Test failed");