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