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