var age = 5;
while (age < 10) {

for ( var i =1 ; i<10 ; i++) {
var name = false;
do {

What is wrong ? Please help me :frowning:


What error message are you getting from the lesson check? Is there a specific order in which the instructions must be followed (for loop before while loop)?


Screen freeze every single time :confused:


The variable name is a reserved word in global scope. It is a property of the window object and cannot be set outside of a function. Change to something else.

condition = false;
do { // ...

} while (condition);


Thank you so much for help! :smiley:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.