Last active
August 29, 2019 17:10
-
-
Save behnammodi/09b4bb03ca4dca675c0bef105f97863a 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
function sum(...num){ | |
return num.reduce((a,b)=>a+b,0) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment