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