forbeginnerconst g = Symbol.for('foo')
const l = Symbol('foo')
g === l // β falseSymbol.for() returns a globally shared symbol, while Symbol() always creates a new local one.
Symbol.for('foo') and Symbol('foo') create different symbols β one is global, the other is local.
Challenge: Confirm they are not equal.