Oh no... Javascript doesn't have a function in the standard library to check if a char is alphanumeric, alphabetic, etc...
Even C has these functions, although they are only for ASCII chars.
The preferred solution is to use a Regex. Seems like a joke...
https://stackoverflow.com/questions/9862761/how-to-check-if-character-is-a-letter-in-javascript