
JavaScript/TypeScript currying arrow function
The currying or curried function is an arrow function that returns an arrow function. If the internal object also returns a function, it looks not readable. Let's break a big currying function into small pieces and understand how it works.