convert a letter to it's ascii representation javascript code example
Example: character to ascii in js
'a'.charCodeAt(0)//returns 97, where '0' is the index of the string 'a'
'a'.charCodeAt(0)//returns 97, where '0' is the index of the string 'a'