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