r/learnjavascript • u/OverToYouBro • May 07 '26
Day 3
Day 3 of #100DaysOfCode
Learned: Loops in JavaScript — for loop, for...in loop, for...of loop, while loop, do...while loop, and forEach loop
Looking for solid JavaScript notes/resources — any recommendations?
#JavaScript #100DaysOfCode
0
Upvotes
View all comments
Show parent comment
1
u/ChaseShiny May 08 '26
You're welcome! If you find all this overwhelming, keep in mind that the while loop can handle any of the above.
If, on the other hand, you're nervous about making infinite loops by mistake, which was my biggest worry when starting out, for...of loops might be better to start with.