DEV Community

Discussion on: Better loops in JavaScript

justintime4tea profile image
Justin Gross

Awesome write up! I'm glad you mentioned the less known ones as well like some and every. An additional note on the "for of" and forEach regarding accessing the index of an element would be nice. If you're interested in continuing to write about working with Arrays, the spread, rest, destructuring, Array.from and using asynchronous calls within loops would be another welcome write up!

kartik2406 profile image
Kartik Malik Author

Yes these are interesting ideas will write about them soon :).