What information does the charCodeAt() method provide?
const str = 'Hello, World!';
const result = str.charCodeAt(0);
charCodeAt() provides character encoding information: 1) Returns UTF-16 code unit at specified position, 2) Used for character code comparison, 3) Essential for low-level string processing, 4) Returns value between 0 and 65535, 5) Useful for character set manipulation, 6) Common in text encoding operations, 7) Different from codePointAt() for surrogate pairs, 8) Important for character-based algorithms.