Optionallabel: stringReadonly[toReadonlyflagsUse for optimizations
Optional ReadonlylabelA name for this instance of the store. For example, you might use a share name for a network-based store
ReadonlymaxReadonlynameWhat the file system using this store should be called. For example, tmpfs for an in memory store
ReadonlysizeStatic Readonly[species]Returns an iterable of entries in the map.
Removes all elements from 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: anyReturns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
Returns a specified element from the Map object.
If no element is associated with the specified key, a new element with the value defaultValue will be inserted into the Map and returned.
The element associated with the specified key, which will be defaultValue if no element previously existed.
Returns a specified element from the Map object.
If no element is associated with the specified key, the result of passing the specified key to the callback function will be inserted into the Map and returned.
The element associated with the specific key, which will be the newly computed value if no element previously existed.
boolean indicating whether an element with the specified key exists or not.
Returns an iterable of keys in the map
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.
Syncs the store
Begins a new transaction.
Usage information for the store
Returns an iterable of values in the map
Staticgroup
A simple in-memory store