Sign in
webkit
/
WebKit
/
c2d3d0c4c2af6b5bbb4b2ae673a19cb040040278
/
.
/
JSTests
/
es6
/
__proto___in_object_literals_multiple___proto___is_an_error.js
blob: 9399bce7fb2f3713b95ea075fe72560716973fb9 [
file
] [
log
] [
blame
]
function
test
()
{
try
{
eval
(
"({ __proto__ : [], __proto__: {} })"
);
}
catch
(
e
)
{
return
true
;
}
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);