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