DEV Community

Discussion on: Breaking Down JavaScript Solutions To Common Algorithmic Questions (Part 1)

Collapse
 
maxwell_dev profile image
Max Antonucci

I've never thought of the trick used in the last two optimized solutions, using Math with a spread operator. Will definitely look into those more!

Collapse
 
emmabostian profile image
Emma Bostian ✨

Way better than using Math.max.apply!