Sign in
webkit
/
WebKit
/
9f9c15eb6fdc193d77c7e606d643d4b8ec49399b
/
.
/
JSTests
/
es6
/
Symbol_global_symbol_registry.js
blob: 833362adb694c09183b936f9ab4669d432565145 [
file
] [
log
] [
blame
]
function
test
()
{
var
symbol
=
Symbol
.
for
(
'foo'
);
return
Symbol
.
for
(
'foo'
)
===
symbol
&&
Symbol
.
keyFor
(
symbol
)
===
'foo'
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);