C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
JavaScript WeakSet ObjectThe JavaScript WeakSet object is the type of collection that allows us to store weakly held objects. Unlike Set, the WeakSet are the collections of objects only. It doesn't contain the arbitrary values. Syntaxnew WeakSet([iterable]) Parameteriterable - It represents the iterable object whose elements will be added to a new WeakSet. Points to remember
JavaScript WeakSet MethodsLet's see the list of JavaScript WeakSet methods with their description.
Next TopicJavaScript WeakMap
|