← Back to Question List
JavaScript Quiz #15
Filter Even Numbers
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];
How can you obtain an array of only the even numbers from [1, 2, 3, 4, 5, 6]?
1const numbers = [1, 2, 3, 4, 5, 6];