Guest User

Untitled

a guest
Jul 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. const compose = (...fns) => function _compose(arg, funcs = [...fns], next = funcs.pop()) {
  2. return funcs.length ? _compose(next(arg), funcs) : next(arg);
  3. }
Add Comment
Please, Sign In to add comment