Sign In
Curriculum
Filter Even Numbers using filter()
Mark as Completed
Filter Even Numbers using filter()
Write a function
filterEvenNumbers
that takes an array of numbers as input, and returns a new array that only contains the even numbers using the
filter
(
)
method.
Click to go back
Click to go forward
Refresh preview
Console
Submit
Solution
00:00
Previous Lesson
Next Lesson