Skip to main content
Version: 3.14.1

Map.prototype.size

The size accessor property returns the number of elements in a Map object.

Description

The value of size is an integer representing how many entries the Map object has. A set accessor function for size is undefined; you can not change this property.