DEV Community

Discussion on: Speedup your JavaScript code using this for loop.

Collapse
 
vidup profile image
Victor Dupuy

I won't repeat what Connor Peet say, which is entirely valid.
If I can suggest something, once you've applied his advices you should also try the for (let...) loop with decrements instead of increments.

Collapse
 
tanujabshelke profile image
Tanuja

I appreciate your advice and also try for (let...).