πŸ“Š JavaScript
Q. If str = "VWXYZ", what returns str.charAt(3)?
  • (A) X
  • (B) Y
  • (C) Z
  • (D) False
πŸ’¬ Discuss
βœ… Correct Answer: (B) Y

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
234
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yogesh
Publisher
πŸ“ˆ
92%
Success Rate