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