Try it
Javascript
Jquery
Angular
Learn Angular
Learn Javascript
Learn Bootstrap
Learn jQuery
FromCharCode-2
Example of JavaScript
fromCharCode
function:
<!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 res = String.fromCharCode(72, 69, 76, 76, 79); document.getElementById("sample").innerHTML = res; } </script> </body> </html>
Output
×
Save This try
Title
Description
<p>Example of JavaScript <code>fromCharCode</code> function:</p>