hasbeginnerconst wm = new WeakMap()
const a = {}, b = {}
wm.set(a, 1)
wm.has(b) // β falseDifferent object references are distinct keys even with the same structure.
Even if the value is null, has(key) returns true.
Challenge: Verify has() with null value.