• charAt()

    • Description: Returns the character at the specified index.

    • Example:

      let str = 'Hello';
      console.log(str.charAt(0)); // Output: 'H'
      
      
  • charCodeAt()

    • Description: Returns the Unicode of the character at the specified index.

    • Example:

      let str = 'Hello';
      console.log(str.charCodeAt(0)); // Output: 72