The charCodeAt() function of string object returns a number indicating the Unicode value of the character at the given index. Use it for example to get unicode value of the given index.
Syntax