A

Admin • 802.91K Points
Coach

Q. Which method returns the character at the specified index?

  • (A) characterAt()
  • (B) getCharAt()
  • (C) charAt()
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
The charAt() method returns the character at the specified index. Example:

var str = "Hello";
var res = str.charAt(0) //H

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.