

Lesson 07 · 11 min
Loops and iteration
When you need a loop and when an array method is enough.
11 minLesson 7 of 10Practice includedAsk AI on any point
Array methods cover most iteration, but you still need a loop: when you have to stop halfway, when the number of steps isn't known in advance, or when you're iterating over something that isn't an array.
Sign in to continue
The rest of this lesson opens after sign up
The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.