The WeakMap is map whose entries are subject to garbage collection if there are no more references to the keys.
Keys must be objects (no primitives). Elements can't be iterated.
If the passed value is null or undefined then an empty map is constructed. Else an iterator object is expected
that produces a two-element array-like object whose first element is a value that will be used as a Map key and
whose second element is the value to associate with that key.
XPrivacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.