Use fromCharCode() Method to convert ASCII to char in JavaScript. The fromCharCode() method converts Unicode values into characters.
JavaScript ASCII to char Example
HTML example code convert a Unicode number into a char:-
<!DOCTYPE html>
<html>
<body>
<script>
var chars = String.fromCharCode(65);
alert(chars);
</script>
</body>
</html>
Output:
Multiple ASCII values into char:
var res = String.fromCharCode(72, 69, 76, 76, 79);
Do comment if you have any doubts and suggestions on this JS char ASCII topic.
Note: The All JS Examples codes are tested on the Firefox browser and the Chrome browser.
OS: Windows 10
Code: HTML 5 Version