πŸ“Š JavaScript
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

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate