A set is a collection of values in which each value can only appear once. Add, delete, has, clear, and size are the main methods. WeakSet:- You can store a group of unique keys using WeakSet objects. Keys in a "weakSet" cannot be primitive types. They can't be made by an array or another set, either.
WeakMap is a Map-like collection that only accepts objects as keys and eliminates them along with their associated value once they are no longer accessible through other means. WeakSet is a Set-like collection that only stores objects and eliminates them when they are no longer available through other means.
WeakSet s are collections of objects only. They cannot contain arbitrary values of any type, as Set s can. The WeakSet is weak, meaning references to objects in a WeakSet are held weakly. If no other references to an object stored in the WeakSet exist, those objects can be garbage collected.
Pasalapudi Pujita Sri Naga Santhoshi
they has clearly explained and easily understand to all
Superb and amazing 😍🤩 enjoyable experience.
This is by far the most comprehensive tutorial I ever come across. I was really excited to discover this amazing tutorial, but unfortunately couldn't continue due to keypad noise which I'm allergic to
VAISHNAVI RAJESH CHALKE
it helps me to clear my basic conceptual knowledge
Thank you! I enjoyed the course; I learned so much.