It's implementation independent, but the semantics are essentially that any references, that are also keys in a WeakMap, will not be blocked from gc once the reference becomes unreachable. A Map, Set or Array would just keep holding a strong reference. So here, if the node is removed from the DOM (which it most certainly will be) the reference will be allowed to gc (at some indeterminate, unobservable point in the future)