4 lines
50 B
JavaScript
4 lines
50 B
JavaScript
|
|
function compose(f, g) {
|
||
|
|
return x => f(g(x));
|
||
|
|
}
|