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