JS Map prototype[@@toStringTag]
🌙
手机阅读
本文目录结构
Map[@@toStringTag]
的初始值是"Map".
Map.prototype[@@toStringTag] 属性的属性特性: |
---|
writable |
enumerable |
configurable |
语法
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 Latest Draft (ECMA-262)Map.prototype[@@toStringTag] | Draft |