() () () currying and Higher Order Function in JS
In JavaScript, we called functions like this.
sum (2,5);
but if I say we can call a function something like this
sum (2) (5);
So this is called function currying...
Currying is translating a function from callable as f(a,b,c) into callable a f(a,b,c...
palkrashish.hashnode.dev2 min read