The charAt() method also accesses characters:
let word = "Hello"
console.log(word.charAt(0)) // "H"
console.log(word.charAt(100)) // "" (empty string)
The difference from bracket notation: charAt() returns an empty string for out-of-bounds indices, while brackets return undefined. Both work for most cases. Bracket notation is more common in modern code.