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
- Apple Safari
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.