DEV Community

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

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...