MWAbout "one reduce to rule them all" - I recommend to have a look at Lodash chaining https://lodash.com/docs/4.17.4#lodashComment·Article·Mar 15, 2017·1·JavaScript Patterns — Wrangling arrays like a boss, with Array#reduce 👊