Y

Yogesh • 7.43K Points
Tutor III

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

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

Explanation by: Yogesh
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.


Question analytics