Sign in
webkit
/
WebKit
/
f186b9aa86eb801312858eeae34eeea5b68d7308
/
.
/
JSTests
/
es6
/
__proto___in_object_literals_not_a_shorthand_property.js
blob: de5a3391a83683ca6502400647495b72f44219bd [
file
] [
log
] [
blame
]
function
test
()
{
if
(!({
__proto__
:
[]
}
instanceof
Array
))
{
return
false
;
}
var
__proto__
=
[];
return
!({
__proto__
}
instanceof
Array
);
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);