Map.prototype.size
Map
实例的 size
访问器属性返回此映射中的元素数量。
¥The size
accessor property of Map
instances returns the number of elements in this map.
Try it
描述
示例
使用尺寸
规范
Specification |
---|
ECMAScript Language Specification # sec-get-map.prototype.size |
浏览器兼容性
BCD tables only load in the browser
也可以看看
¥See also