What is Function Composition
1. What is Compose
In algebra, function composition allows you to apply one function to the output of another function. It looks like this;
We can also apply same thing with javascript.
const compose = (g, f) => x => g(f(x));
2. Example
I can tell,...
blog.furkanozbek.com3 min read