• Returns a Symbol object from the global symbol registry matching the given key if found. Otherwise, returns a new symbol with this key. This will always return a polyfill if symbols are not supported.

    Parameters

    • key: string

      key to search for.

    Returns symbol