I like this explanation a lot, however, I got a bit lost with all the refactoring.
Andre Lewis

Depends on what you want to support, and if you are using something like Ramda or not. I think the ES6 version is pretty easy and flexible:

It won’t flatten nested arrays of arguments, but most people won’t need those, and could be handled via function composition instead.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.