Returns a key from the global symbol registry matching the given Symbol if found. Otherwise, returns a undefined.
keyFor(sym)
sym
Symbol to find the key for.
A key as a string or undefined.
undefined
Symbol.keyFor(Symbol.for("peace"))
"peace"