Sign in
webkit
/
WebKit
/
90848d1a03498139e72a756e822580544ca9d408
/
.
/
JSTests
/
es6
/
Proxy_constructor_requires_new.js
blob: d4aa3efb9564e0af2ae2ebfc057755a6cb81e3b8 [
file
] [
log
] [
blame
]
function
test
()
{
new
Proxy
({},
{});
try
{
Proxy
({},
{});
return
false
;
}
catch
(
e
)
{
return
true
;
}
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);