set
const wm = new WeakMap() const k = {id: 1} wm.set(k, {data: true})
Values in a WeakMap can be any type, including objects.
Calling set(key, newValue) overwrites the previous value.
set(key, newValue)
Challenge: Verify overwriting.