M

Mr. Dubey • 100.28K Points
Coach

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

  • (A) every()
  • (B) some()
  • (C) filter()
  • (D) map()
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category JavaScript

Explanation by: Mr. Dubey
every() tests whether all elements meet a condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics