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