Sign in
webkit
/
WebKit
/
fff5469af9e21121a01bc52b64d66a2e93b51665
/
.
/
JSTests
/
es6
/
Set_constructor_requires_new.js
blob: 5ad314bf624068c8961808a42055d15a70cab44e [
file
] [
log
] [
blame
]
function
test
()
{
new
Set
();
try
{
Set
();
return
false
;
}
catch
(
e
)
{
return
true
;
}
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);