---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# Map.prototype.values()

The **`values()`** method returns a new
_[iterator](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Iterators_and_Generators)_ object
that contains the values for each element in the `Map` object in insertion
order.

## Syntax

```js
values()
```

### Return value

A new [Map](../../../globals/Map/Map.mdx) iterator object.
