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

BCD tables only load in the browser

See also