Map.prototype.[Symbol.toStringTag]

By Xah Lee. Date: .

New in ES2015.

Map.prototype [ Symbol.toStringTag ] → Value is the string "Map".

[see JS: Determine Type of Object]

console.log ( Map.prototype [ Symbol.toStringTag ] === "Map" ); // true

Reference

ECMAScript 2015 §Keyed Collection#sec-map.prototype-@@tostringtag

Map Topic

  1. JS: the Map Object Tutorial
  2. JS: Map Object
  3. JS: Map.prototype
  4. JS: Iterate Over Map Object
  5. JS: Convert Object to/from Map
  6. JS: Map Filter
Liket it? Put $5 at patreon.

Or, Buy JavaScript in Depth

Patreon me $5. Ask me question on patreon