11. Review


#1

for(var i= 22;i<44;i++){
    console.log(i);
    var amigo = true;
    while(amigo){console.log("Hola Nacho");
    amigo = false;
    }
    
    var friday=false;
    do{console.log("Code"); 
    }
    while(friday);
    


What is wrong with that??


#2

you didn't close the for loop.

for(var i= 22;i<44;i++){
    console.log(i);
  // need a } bracket here

#3

:sweat_smile: Thanks


#4