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