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

Map[Symbol.toStringTag]

Examples

Using toStringTag

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

Specifications

Specification
ECMAScript (ECMA-262)
The definition of 'Map.prototype[@@toStringTag]' in that specification.

Browser compatibility

Update compatibility data on GitHub
DesktopMobileServer
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung InternetNode.js
@@toStringTagChrome Full support 44Edge Full support 79Firefox Full support 51IE No support NoOpera No support NoSafari No support NoWebView Android Full support 44Chrome Android Full support 44Firefox Android Full support 51Opera Android No support NoSafari iOS No support NoSamsung Internet Android Full support 4.0nodejs Full support 6.0.0

Legend

Full support  
Full support
No support  
No support

See also