JavaScript String charAt() Method
The JavaScript String charAt() method retrieves the character at a specified index in a string. The index is passed as an argument to the method, and it returns the character at that position.Note: JavaScript uses zero-based indexing, meaning the first character is at index 0, the second at index 1,