2 ms·
It irrationally bothers me that you didn't use `f` and `g` for your composition example, as that's the common mathematical representation. function compose
by jdmichal 10y ago
It irrationally bothers me that you didn't use `f` and `g` for your composition example, as that's the common mathematical representation.
function compose(f, g) {
return function (x) {
return f(g(x));
};
}