JAVASCRIPT · ОСНОВЫ · LESSON 11
As long as the condition is
while 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.
let count = 1;
while (count <= 3) {
console.log(count);
count++;
}Open the editor for class workSolve it yourself
Start with let count = 1. Using while, output numbers from 1 to 4, changing count within the loop.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework