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