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