Map.prototype[@@toStringTag]

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

Try it

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 Language Specification
# sec-map.prototype-@@tostringtag

Browser compatibility

BCD tables only load in the browser

See also