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.

Specification

Established standard

Status in Chromium

Blink


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

Owners

Last updated on 2017-06-14