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

The fromCharCode method converts ASCII to a string:

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

Leave a Comment