charCodeAt() method returns an integer between 0 and 65535 representing the UTF-16 code unit at the given index.
|index||optional||Specifies the index of the character you want to return a number representing the UTF-16 code unit value.|
If no index is provided, the default is '0'.
|Number||Returns a number representing the UTF-16 code unit value of the character at the given index.|
|NaN||If index is out of range.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.