description

# forKey static method

1. @Since.new('3.11')
2. @JS('for')

JSSymbol forKey(

1. String key

)

Searches for an existing symbol in a runtime-wide symbol registry with the given key and returns it if found.

Otherwise, creates a new symbol with this key, adds it to the global registry, and returns it.

## Implementation

    @Since('3.11')
    @JS('for')
    external static JSSymbol forKey(String key);