WeakSet

suggest change

Versions

WeakSet was added in ES2015. There is no separate version series for the collection.

Syntax

Remarks

Values follow the same rule as WeakMap keys: objects or symbols that were not created with Symbol.for. A WeakSet is not iterable and has no size. For uses of WeakSet see ECMAScript 6: what is WeakSet for?.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents