Default @@toStringTag for user classes

Domenic Denicola d at
Tue Dec 2 10:11:23 PST 2014

From: es-discuss [mailto:es-discuss-bounces at] On Behalf Of Andrea Giammarchi

> I think by `@@toStringTag` he meant the ability to define a `[[Class]]` name so that `{}` would return such name instead of `Object` but I'm sure Dmitry will come back explaining and/or asking more.

[[Class]] does not appear in the spec, and @@toStringTag does.

More information about the es-discuss mailing list