Sign in
webkit
/
WebKit
/
2459939e8cc33aa793cfbafafc3ea7911bf42db7
/
.
/
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"
);