5 ms·Functional JavaScript: Five ways to calculate an average with array reduce2 points by jrsinclair 7y ago