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