Review lesson, unexpected token )


#1

i get the "unexpected token ) " whenever i submit this code, maybe i had a typo in this, but help me check the code.

condition = true
while(condition) {
    console.log("this is true");
    condition = false;
    }

for(j=5,j < 10; j++) {
    console.log(j);
    }
    
say = false;
do {
    console.log("printed once!");
    
    } while(say);
    


#2

missing semi-colon on line1: condition = true

But the real problem is in this line:

for(j=5,j < 10; j++)

after j=5 there should be a semi-colon, there is a comma. This causes some errors