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