Given that you can’t iterate over their elements, there are not that many use cases for WeakSets. They do enable you to mark objects.

    33.2. WeakSet API

    The constructor and the three methods of WeakSet work the same as their Set equivalents:

    • [ES6]
    • .delete(value: T): boolean [ES6]
    • [ES6]