Map.prototype[@@toStringTag]

 Map[@@toStringTag] 的初始值是"Map".

Map.prototype[@@toStringTag] 属性的属性特性:
writable false
enumerable false
configurable true

语法

Map[Symbol.toStringTag]

示例

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

规范

Specification Status Comment
ECMAScript 2015 (6th Edition, ECMA-262)
Map.prototype[@@toStringTag]
Standard Initial definition.
ECMAScript (ECMA-262)
Map.prototype[@@toStringTag]
Living Standard  

浏览器兼容性

BCD tables only load in the browser