Currying functions in js

Currying function is a modern feature in javascript that let’s to instead of send multiple arguments and callbacks, send them in another format.I mean, if a function needs to receive the result of another function, maybe it’s a good opportunity to use currying! let’s read here

Composing functions in JS

Composing multiple functions in javascript, means call multiple functions one after each other when each function needs the result of previous function’s result.A understandable example is that, to prepare a hamburger, first needs to grind the meat, the add some salt, then shape it and last step is baking. You can not bake it then […]