keyForbeginnerconst key = 'userId'
const s = Symbol.for(key)
Symbol.keyFor(s) === key // β trueSymbol.for(key) and Symbol.keyFor(sym) are inverse operations β a perfect round-trip.
A symbol registered with Symbol.for(key) can always be recovered: Symbol.keyFor(Symbol.for(key)) === key.
Challenge: Verify the round-trip is consistent.