How to create a string or char from an ASCII value in JavaScript?

Solution 1:

The fromCharCode method converts ASCII to a string:

<script type="text/javascript">
document.write(String.fromCharCode(65,66,67)); // ABC
</script>

Hope this helps!

Solution 2:

A reference for those of us that don't like w3schools ;)

Usage:

var myAString = String.fromCharCode(65)