πŸ“Š JavaScript
Q. How to find the index of a particular string?
  • (A) position()
  • (B) index()
  • (C) indexOf()
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (C) indexOf()

Explanation: The indexOf() function can be used to find out the index of a particular character or a string.

Explanation by: Mr. Dubey
The indexOf() function can be used to find out the index of a particular character or a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
223
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate