Function symbolKeyFor

  • Returns a key from the global symbol registry matching the given Symbol if found. Otherwise, returns a undefined. This will always attempt to lookup the polyfill implementation if symbols are not supported

    Parameters

    • sym: symbol

      Symbol to find the key for.

    Returns string | undefined