SyntaxError: Expected '('


#1

var floop = "This is my loopy string"
while (floop.length < 30){
console.log("Loopy fiasco");
count+3;
}

for = (var i=0; i<9; i++){
console.log(i);
}

that's my code, please could anyone help me


#2

Hi @ajaxmaster84249

There are some mistakes :
You have to change your while condition because floop.length will be ever less than 30, it's an infinite loop.
Check this out :

var floop = "This is my loopy string"

var count = 0; //I added a count variable
while (/*Change your condition here*/){
    console.log("Loopy fiasco");
    count += 3; //I corrected here also
}

for(var i = 0; i < 9; i++){ //I deleted = after for
    console.log(i);
}