Q. Which method checks if all elements in an array pass a test?

  • (A) every()
  • (B) some()
  • (C) filter()
  • (D) map()
πŸ’¬ Discuss
βœ… Correct Answer: (A) every()
Explanation: every() tests whether all elements meet a condition.
Explanation by: Mr. Dubey
every() tests whether all elements meet a condition.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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