CJCoding With Joseph
15per day
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
JavaScript Quiz #15

Filter Even Numbers

easyLoops

How can you obtain an array of only the even numbers from [1, 2, 3, 4, 5, 6]?

📄 Code

1const numbers = [1, 2, 3, 4, 5, 6];