Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Here's the basic usage of the file that you'll be creating:

var curry = require('./') // <- this is the file you make;

function add(a, b) {
  return a + b;
}

var curried = curry(add);
console.log(  curried(1)(2)  ); // 3

More info: https://en.wikipedia.org/wiki/Currying