DEV Community

Discussion on: "for" vs. "forEach" and the value of documentation

Collapse
 
aritdeveloper profile image
Arit Developer

What I'm loving about this thread is reading all the ways to accomplish my coding goal 😊 Thanks so much for your suggestion.

Collapse
 
swarupkm profile image
Swarup Kumar Mahapatra

Because of this reason I joined dev.to recently .

Back to the arrays discussion, the trend of using for loop will go away.
For every use case there must be some array function available.

w3schools.com/jsref/jsref_obj_arra...