blob: 3199d705b5948be973f250cb76afd7136965c728 [file] [log] [blame]
function test() {
return { __proto__ : [] } instanceof Array
&& !({ __proto__ : null } instanceof Object);
}
if (!test())
throw new Error("Test failed");