Last active
May 27, 2018 16:46
-
-
Save WaldoJeffers/9412a44c5b5f37213a0541cc077da6c7 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
const add = (a, b) => a + b | |
const total = Object.values(obj).reduce(add, 0) // 16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment