daily pastebin goal
31%
SHARE
TWEET

Untitled

a guest Mar 18th, 2018 63 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top