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