deletebeginnerconst ws = new WeakSet()
const o = {}
ws.add(o)
const ok = ws.delete(o)
ok // β trueThe boolean return value tells you if the removal succeeded.
Deleting one object doesn't affect others in the set.
Challenge: Verify deletion isolation.