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

  • (A) filter()
  • (B) find()
  • (C) select()
  • (D) choose()
πŸ’¬ Discuss
βœ… Correct Answer: (A) filter()
Explanation: The filter() method creates a new array with elements that pass a test.
Explanation by: Mr. Dubey
The filter() method creates a new array with elements that pass a test.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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