Arrays • Exercise 3/6

Select Evens

00:00
0
15 points

Instructions

Create a function select_evens that takes an array of numbers
and returns a new array containing only the even numbers.

Use the select method for filtering.

Your Code

Results

Click "Run Tests" to see results