A

Admin • 802.91K Points
Coach

Q. If str = "VWXYZ", what returns str.charAt(3)?

  • (A) X
  • (B) Y
  • (C) Z
  • (D) False
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
The method charAt() returns the character at the specified index in a string. The index of the first character is 0.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.