Optionalentries: readonly (readonly [any, any])[] | nullOptionaliterable: Iterable<readonly [any, any], any, any> | nullReadonly[toReadonlysizeStatic Readonly[species]Returns an iterable of entries in the map.
true if an element in the Map existed and has been removed, or false if the element does not exist.
Returns an iterable of key, value pairs for every entry in the map.
Executes a provided function once per each key/value pair in the Map, in insertion order.
OptionalthisArg: anyGets the value associated with the specified key.
The key of the element to get.
The element associated with the specified key, or undefined if the key does not exist.
Gets the value associated with the specified key.
The key of the element to get.
The element associated with the specified key, or undefined if the key does not exist.
boolean indicating whether an element with the specified key exists or not.
Returns an iterable of keys in the map
Pops a value from the stack for the specified key.
The key of the element to pop.
The value that was popped from the stack.
Pushes a value onto the stack for the specified key.
The key of the element to push.
The value to push onto the stack.
Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
Returns an iterable of values in the map
A collection for managing state within a turn context.