Created
September 13, 2017 15:21
-
-
Save du5rte/ef72a67f3094884ad78326bf18c6aec0 to your computer and use it in GitHub Desktop.
test multiple booleans
This file contains hidden or 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
const tests = [true, false, true] | |
const finalTest = tests.reduce((acc, val) => { | |
return acc && val | |
}, true); | |
console.log(finalTest) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment