6/11 Solo Flight Help


#1

Between syntax errors and "expected expression, got ' ; ' ". I don't understand this.

var myCondition = true;
var soloLoop = function(); {
//Your code goes here!
while(myCondition) {
console.log("Looped once!");
myCondition = false;
}
};

soloLoop();


#2

You sure you're supposed to put a semi colon in a function?