JavaScript reduce on multiple properties
You might have heard of the JavaScript reduce method, it's used to convert to a specific output, which can be a sum, but also an output array or object.
The reduce itself is super useful, but the other day I needed it to reduce on multiple properties...
h.daily-dev-tips.com6 min read