Back to All Challenges
Back to all challenges
Logic Loop: Count the Evens
Solve the "Logic Loop: Count the Evens" beginner challenge. Focus: javascript logic.
beginnerjavascript
Terminal
user@debugger:~/project$ node app.js
The function counts one extra element due to an incorrect loop condition.
user@debugger:~/project$ ▌
Test Cases (Click to expand)