Map[@@toStringTag]
property has an initial value of "Map".
特性属性在
Map.prototype[@@toStringTag]
|
|
|---|---|
| 可写 | no |
| 可枚举 | no |
| 可配置 | yes |
Map[Symbol.toStringTag]
Object.prototype.toString.call(new Map()) // "[object Map]"
| 规范 |
|---|
|
ECMAScript (ECMA-262)
The definition of 'Map.prototype[@@toStringTag]' in that specification. |
| Desktop | Mobile | Server | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@toStringTag
|
Chrome 44 | Edge 79 | Firefox 51 | IE No | Opera No | Safari No | WebView Android 44 | Chrome Android 44 | Firefox Android 51 | Opera Android No | Safari iOS No | Samsung Internet Android 4.0 | nodejs 6.0.0 |
完整支持
不支持
Map
Map.prototype.size
Map.prototype[@@toStringTag]
get Map[@@species]
Function
Object
Object.prototype.__defineGetter__()
Object.prototype.__defineSetter__()
Object.prototype.__lookupGetter__()
Object.prototype.__lookupSetter__()
Object.prototype.hasOwnProperty()
Object.prototype.isPrototypeOf()
Object.prototype.propertyIsEnumerable()
Object.prototype.toLocaleString()
Object.prototype.toSource()
Object.prototype.toString()
Object.prototype.valueOf()
Object.setPrototypeOf()