Sign in
webkit
/
WebKit
/
2e2cb00ac8a118644a070f63a7b5ac6a2db0e0aa
/
.
/
JSTests
/
es6
/
Symbol_new_Symbol_throws.js
blob: c795837257481af4fd4170bfac624b29f5833825 [
file
] [
log
] [
blame
]
function
test
()
{
var
symbol
=
Symbol
();
try
{
new
Symbol
();
}
catch
(
e
)
{
return
true
;
}
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);