addbeginnerconst ws = new WeakSet()
const o = {}
const result = ws.add(o)
result === ws // β trueadd() returns the WeakSet itself for chaining.
Adding the same object twice doesn't create duplicates β has() still returns true.
Challenge: Verify adding the same object twice is idempotent.