JAVASCRIPT · ОСНОВЫ · LESSON 10
Repeat the meter.
for loop · about 12 minutes
Learning with progressRead the summary for free. To save the work, log in to the account.
Type the code yourself
Type an example manually. Check the names, brackets and signs.
for (let step = 1; step <= 3; step++) {
console.log(step);
}Open the editor for class workSolve it yourself
Using for with the step variable, output numbers from 1 to 4 inclusive.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework