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