Created
October 13, 2020 17:34
-
-
Save ifkas/233188e7336a800a3fa0bc787755272c to your computer and use it in GitHub Desktop.
Reduce exercise number solution
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
let total = numbers.reduce((accumulator, number) => { | |
return accumulator += number; | |
}, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment