Map.prototype[@@toStringTag]

The Map[@@toStringTag] property has an initial value of "Map".

Property attributes of Map.prototype[@@toStringTag]
Writable no
Enumerable no
Configurable yes

Syntax

JavaScript
Map[Symbol.toStringTag]

Example

JavaScript
Object.prototype.toString.call(new Map()) // "[object Map]"

Specifications

Specification Status Comment
ECMAScript 2015 (6th Edition, ECMA-262)
The definition of 'Map.prototype[@@toStringTag]' in that specification.
Standard Initial definition.
ECMAScript 2017 Draft (ECMA-262)
The definition of 'Map.prototype[@@toStringTag]' in that specification.
Draft  

Browser compatibility

 

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 44.0 No support No support No support No support
Feature Android Android Webview Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support 44.0 No support No support No support No support 44.0

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/javascript/reference/global_objects/map/@@tostringtag

ECMAScript6 JavaScript Map Property Prototype Reference