Learn JavaScript
Map
32.9
Lesson

map.size

The map.size method returns the number of elements in the Map.