Learn the JavaScript Reduce function in 18 minutes (for beginners)