Created
May 18, 2015 19:26
-
-
Save having-fun-coding/2542990b8a6d08435d0b to your computer and use it in GitHub Desktop.
Baby Steps | Node Program
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
| function plus(x,y) { return x+y }; | |
| console.log(process.argv.slice(2).map(Number).reduce(plus)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment