Sign in
webkit
/
WebKit
/
5ee61c06e54d41c4ffb65d69f6b4605c35afb105
/
.
/
JSTests
/
es6
/
well-known_symbols_Symbol.toStringTag.js
blob: 7d9777d0e4a06e1bf1b8b9e7c7b11eb37c4020af [
file
] [
log
] [
blame
]
function
test
()
{
var
a
=
{};
a
[
Symbol
.
toStringTag
]
=
"foo"
;
return
(
a
+
""
)
===
"[object foo]"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);