daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest Mar 18th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export default (...args) => {
  2.   return args.reduce((a, it) => (...params) => {
  3.     const d = it(...params);
  4.     if(d.then) return d.then(a);
  5.     else return a(d);
  6.   });
  7. }
RAW Paste Data
Top