---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# Map.prototype.size

The **`size`** accessor property returns the number of elements in a
[Map](../../../globals/Map/Map.mdx) 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.
