Here “Symbol” is the symbol which is to be searched into the runtime-wide symbol registry.
Parameters: This function accepts a parameter “sym” which is the symbol for which the key is to be found.
Return value: This function returns a string representing the key for the given symbol is found in the global registry otherwise it returns undefined.
"Geeks" "123" "gfg" "789"
- Google Chrome 40 and above
- Edge 12 and above
- Firefox 36 and above
- Opera 27 and above
- Safari 9 and above