Last active
February 28, 2020 11:34
-
-
Save alonat/384f2ae2f54e47d0c1a9e6bc5f1726c3 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 sum = (a) => (b) => { | |
return b !== undefined ? sum(a + b) : a | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment