![](https://res.cloudinary.com/techfeed/image//fetch/w_280,h_210,c_fill/https%3A%2F%2Fwww.jonathancreamer.com%2Fcontent%2Fimages%2F2020%2F03%2FIMG_0533-EFFECTS.jpg)
For of loops in Javascript one loop to rule them all
CRANK
For the longest time, for in and for were the main loops you could use to iterate over collections of things in JavaScript. Then we got some fancy array methods like forEach, map, filter, etc. It starts to get a bit confusing of when to use each loop type. For