Got stuck with 11 Review (loops)


SyntaxError: Invalid or unexpected token

for(i=1; i<3; i++) {
    console.log("Here should be FOR loops");

var condition = true;
    console.log("While Loop");
    condition = false;
var condition = false;
do {
    console.log("do/while loop");


Remove the second last semi-colon. Everything else looks good.


Thanks! It works now


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