Returns a number indicating the ISO-Latin-1 codeset value of the character at the given index.
String
charCodeAt(index)
index
(Optional) An integer between 0 and 1 less than the length of the string. The default value is 0.
The ISO-Latin-1 codeset ranges from 0 to 255. The first 0 to 127 are a direct match of the ASCII character set.
The following example returns 65, the ISO-Latin-1 codeset value for A.
"ABC".charCodeAt(0)