ES6 Currying
Observe the code below:
const sum = a => b => a + b;
Let's try to understand the above code.
In the above code snippet, there are two function, sum and the anonymous function returned by sum. The sum takes one argument and the anonymous function retu...
mn.hashnode.dev1 min read
Tapas Adhikary
Educator @tapaScript | Founder CreoWis & ReactPlay - Writer - YouTuber - Open Source
good one, thanks for sharing.