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

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

Syntax

Map[Symbol.toStringTag]

Example

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 Latest Draft (ECMA-262)
The definition of 'Map.prototype[@@toStringTag]' in that specification.
Draft  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support44 No No No No No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support4444 No No No No4.0

Document Tags and Contributors

Contributors to this page: wbamberg, fscholz, kdex, arai, nb1080, marcionitao, jpmedley
Last updated by: wbamberg,