FromCharCode-1

 

JavaScript fromCharCode() function return Unicode values from characters. See the code snippet:

 
 
 
<!DOCTYPE html> <html> <head> <title>Welcome to LearnKode - A code learning platform</title> </head> <body> <button onclick="convertUnicodeToCharacter()">Display the character</button> <p id="sample"></p> <script> function convertUnicodeToCharacter() { var result = String.fromCharCode(65); document.getElementById("sample").innerHTML = result; } </script> </body> </html>
Output