WeakSet objects are collections of objects. Just as with Sets, each object in a WeakSet may occur only once; all objects in a WeakSet’s collection are unique.
WeakSet
Sets
Visit the following resources to learn more: