How we built it

Symbol.toStringTag (ES6)

Using Symbol.toStringTag, user-defined types can return customized output when passed to Object.prototype.toString (either directly or as a result of string coercion) by storing a descriptive string in a Symbol.toStringTag-keyed property.


Established standard

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 49
  • Chrome for Android release 49
  • Opera release 36
  • Opera for Android release 36

Consensus & Standardization


Last updated on 2016-01-20