Sign in
webkit
/
WebKit
/
73c7b7b08069136c6d85537e1fc3427dd8fa1d44
/
.
/
JSTests
/
es6
/
Symbol_basic_functionality.js
blob: 40e8d40105bb22a5a950217ac487af7c1f850c4e [
file
] [
log
] [
blame
]
function
test
()
{
var
object
=
{};
var
symbol
=
Symbol
();
var
value
=
{};
object
[
symbol
]
=
value
;
return
object
[
symbol
]
===
value
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);