Map.prototype[@@toStringTag]
A propriedade Map[@@toStringTag]
tem o valor inicial do Map
.
Experimente
Property attributes of Map.prototype[@@toStringTag] | |
---|---|
Writable | no |
Enumerable | no |
Configurable | yes |
Sintaxe
js
Map[Symbol.toStringTag]
Exemplos
Usando o toStringTag
js
Object.prototype.toString.call(new Map()) // "[object Map]"
Especificações
No specification found
No specification data found for undefined
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.