A

Admin • 828.03K Points
Coach

Q. Which method is used to filter elements in an array?

  • (A) filter()
  • (B) find()
  • (C) select()
  • (D) choose()
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
The filter() method creates a new array with elements that pass a test.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.