check that the character is a letter javascript code example
Example: check if something is a letter in js
string.charAt(1).toUpperCase() !== string.charAt(1).toLowerCase()
string.charAt(1).toUpperCase() !== string.charAt(1).toLowerCase()