Back to All Challenges
Back to all challenges
Logic Misfire: The Truth About Negation
Solve the "Logic Misfire: The Truth About Negation" advanced challenge. Focus: javascript logic.
advancedjavascript
Terminal
user@debugger:~/project$ node app.js
The function incorrectly considers zero as a positive number and returns true for arrays containing zero.
user@debugger:~/project$ ▌
Test Cases (Click to expand)