Zusammenfassung der Ressource
Frage 1
Frage
Which type of loop do you typically use when you know exactly how many iterations you will need to do?
Frage 2
Frage
Which type of loop would you use when you are not certain how many iterations you will need to do?
Frage 3
Frage
Which of the following do you need to define when you build a loop?
Frage 4
Frage
Which statement lets you skip one iteration of a loop?
Frage 5
Frage
In the following for loop, which of the following semicolons (if any) are *not* correct syntax?
for (var i = 0; i < 10; i++); {
console.log(i);
};
Antworten
-
Those inside the first set of parentheses (between each of the components of the loop)
-
The one after the first set of parentheses
-
The one after the console log statement
-
The one at the end of the for loop