DEV Community

Discussion on: I Use For Loops Almost Always In Javascript

Collapse
 
valentinprgnd profile image
Valentin Prugnaud 🦊

Nothing wrong with loops indeed. However I find filter, reduce and map useful as they are immutable and can be chained. How do you deal with these use cases?