Map

Map stores key-value pairs and their insertion order. Any JavaScript type can be used as a key or a value.

Keys are unique: setting a value for an existing key replaces the old value.

Syntax

Map

Properties

Prototype Properties