Sign in
webkit
/
WebKit
/
000a985cc582d9d77ca643860a7536440fb731b1
/
.
/
JSTests
/
es6
/
__proto___in_object_literals_not_a_shorthand_method.js
blob: ffa3598d424880df85d9c9671233b351faa0b1b6 [
file
] [
log
] [
blame
]
function
test
()
{
if
(!({
__proto__
:
[]
}
instanceof
Array
))
{
return
false
;
}
return
!({
__proto__
(){}
}
instanceof
Function
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);