Skip to content

Instantly share code, notes, and snippets.

@csndra0504
Created February 18, 2017 02:39
Show Gist options
  • Save csndra0504/fb71c028c67303d73c19f19a7d001ec8 to your computer and use it in GitHub Desktop.
Save csndra0504/fb71c028c67303d73c19f19a7d001ec8 to your computer and use it in GitHub Desktop.
ES6 Add Curried
const add = x => y => x+y;
console.log(add(2)(5)); //7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment