DEV Community

Discussion on: Don’t use for loop for JavaScript Arrays

Collapse
 
gstvds profile image
Gustavo da Silva

absolutely!

but that was a very helpful post!
I really like using map. It syntax combined with the fact that it doesn't change the original array it's very handy. If they improve async I'll definitely switch back to map (:

Thread Thread
 
sharmakushal profile image
Kushal sharma

thanks, buddy, I am also the map syntax lover. I can't imagine the React without the map

Some comments have been hidden by the post's author - find out more