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

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