Added methods on WeakMaps.
If key exists in the map, return the value associated with it. Otherwise, call defaultValue() to create a new value, insert that into the map under key, and return it.
key
defaultValue()
If key exists in the map, remove the key/value pair from the map and return the removed value. Otherwise, return None.
WeakMap.delete
Added methods on WeakMaps.