WeakSet is very similar to
Set, except for a few key differences:
WeakSetcan only store objects (no primitive values)
WeakSetholds values “weakly” and does not prevent garbage collection on values
WeakSetis not iterable
WeakMap, it’s not likely you’ll be using
WeakSet too frequently.