Skip to content

Instantly share code, notes, and snippets.

@elliptic-shiho
Created August 1, 2015 09:10
Show Gist options
  • Save elliptic-shiho/22eb6402a27b561e8ffa to your computer and use it in GitHub Desktop.
Save elliptic-shiho/22eb6402a27b561e8ffa to your computer and use it in GitHub Desktop.
console.log(process.argv.splice(2).map(function(d){return parseInt(d)}).reduce(function(x,y){return x+y}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment