Remove a key from the map.
The key to remove.
Retrieve a value from the map.
The value's key.
Place a value in the map.
The key.
The value.
Enumerate the entries.
Enumerate the keys.
Enumerate the values.
Enumerate the entries.
Clean up the corresponding ref in the set when its value is garbage collected.
The value held by the finalizer.
A set of weak refs to the map's keys, allowing enumeration.
A FinalizationRegistry instance to clean up the ref set when objects are garbage collected.
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.