Sign in
webkit
/
WebKit
/
98c995bc48b46e12cd73dbe994c0d66e35daac07
/
.
/
JSTests
/
es6
/
__proto___in_object_literals_basic_support.js
blob: 3199d705b5948be973f250cb76afd7136965c728 [
file
] [
log
] [
blame
]
function
test
()
{
return
{
__proto__
:
[]
}
instanceof
Array
&&
!({
__proto__
:
null
}
instanceof
Object
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);