Q. Which method returns the first element that satisfies a testing function?

  • (A) find()
  • (B) filter()
  • (C) map()
  • (D) some()
πŸ’¬ Discuss
βœ… Correct Answer: (A) find()
Explanation: find() returns the first element that matches a condition.
Explanation by: Mr. Dubey
find() returns the first element that matches a condition.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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