javascript string to asci code example
Example 1: character to ascii javascript
"ABC".charCodeAt(0) // returns 65
Example 2: js number to ascii
String.fromCharCode(97); // --> 'a'
Example 3: turn ascii into text javascriot
const character = String.fromCharCode(67);
console.log(character); // "C"