Stores a map of objects with weak references to the keys, allowing them to be garbage collected. Both keys and values can be iterated over, unlike a WeakMap.
Optional
The initial entries.
Enumerate the entries.
Clear all values from the map.
Remove a key from the map.
The key to remove.
Retrieve a value from the map.
The value's key.
Enumerate the keys.
Place a value in the map.
The key.
The value.
Enumerate the values.
Stores a map of objects with weak references to the keys, allowing them to be garbage collected. Both keys and values can be iterated over, unlike a WeakMap.
Template: K
Template: V