Last active
August 12, 2020 18:28
-
-
Save hyber1z0r/b15ab27a814dce74fbd1adf6cb1454ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let completedAll = true; | |
for (let i = 0; i < todos.length; i++) { | |
if (!todos[i].completed) { | |
completedAll = false; | |
break; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment