DEV Community 👩‍💻👨‍💻

Discussion on: Top 20 JavaScript tips and tricks to increase your Speed and Efficiency

tomy profile image
Tomy Smith • Edited on

It's actually the spread operator that's taking the time there. Though admittedly, there aren't many cases you'd have a hardcoded list of values to find the max of, it's worth pointing out.

dev-to-uploads.s3.amazonaws.com/up...