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