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