Hacker News new | ask | show | jobs
by kemiller2002 994 days ago
[ fn1, fn2, fn3, fn4 ].reduce((s, i) => i(s), starting_value);

Same thing. Less code, standard functions.