'a'.charCodeAt(0)//returns 97, where '0' is the index of the string 'a'
var res = "A".charCodeAt(); //returns 65
const StringToASCII = (str) => [...str].map((char) => char.charCodeAt(0));
const character = String.fromCharCode(67);
console.log(character); // "C"