setbeginnerconst wm = new WeakMap()
const k = {}
wm.set(k, 'hello')
wm.set(k, 'world')
wm.get(k) // β 'world'Calling set() with the same key overwrites the previous value.
wm.set(k, 1) returns the WeakMap itself, enabling chaining.
Challenge: Verify set returns the WeakMap.