WeakMap.prototype.get()
The get() method returns a specified element from a
WeakMap object.
Syntax
get(key)
Parameters
key- : Required. The key of the element to return from the
WeakMapobject.
- : Required. The key of the element to return from the
Return value
The element associated with the specified key in the WeakMap object. If
the key can't be found, undefined is returned.