Map.prototype[@@toStringTag]
Map[@@toStringTag]
프로퍼티의 초기값은 "Map"입니다.
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
Property attributes of Map.prototype[@@toStringTag] |
|
---|---|
Writable | no |
Enumerable | no |
Configurable | yes |
문법
Map[Symbol.toStringTag]
예제
Object.prototype.toString.call(new Map()) // "[object Map]"
명세
Specification | Status | Comment |
---|---|---|
ECMAScript 2015 (6th Edition, ECMA-262) The definition of 'Map.prototype[@@toStringTag]' in that specification. |
Standard | Initial definition. |
ECMAScript (ECMA-262) The definition of 'Map.prototype[@@toStringTag]' in that specification. |
Living Standard |
브라우저 호환성
BCD tables only load in the browser