Currying is a technique of evaluating function with multiple arguments, into sequence of function with single argument. That is, when we turn a function call add(1,2,3) into add(1)(2)(3) .

References

  • https://codeburst.io/currying-in-javascript-ba51eb9778dc