4 ms·
In this case if you look it up on MDN you'll see that Math.max(...arr) isn't recommended for large arrays (ask me how I know)
by mmaurizi 5y ago
In this case if you look it up on MDN you'll see that Math.max(...arr) isn't recommended for large arrays (ask me how I know)
- nicbou 5y agoI would suspect that. How do you know? (this sort of discussion is what I'd love to see in a tech interview)