Solo flight


#1

why wont this work i keep getting SyntaxError: Unexpected token here is the code

var done = true;
var soloLoop = function(){
while(done=true)[
console.log( "Looped once!");
done = false;
};

soloLoop();


#2

Double check your brackets, see if they match if they are even.
Also check the statement inside the while loop, the term "is equal to" is expressed by double, or triple equal signs.


#3

thnx for the help idk if it work or not i figured it out he next day but thnx again for helping