Course · Section 3: JavaScript Fundamentals – Part 2 · Lecture 48: Looping Arrays, Breaking and Continuing
Implement `collectEvens(arr)` returning the even numbers, using a for loop and `continue` to skip odds.
+ 1 hidden test run on Submit.
continue skips odd numbers so only evens are collected.
Run your code to see results.