6 solo flight


#1

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

soloLoop();


#2

Check spelling & take out the '= true' part.:smiley:


#3

Look I made it in this way, and it works..

//Remember to make your condition true outside the loop!
var a = true;
var soloLoop = function(){
while (a) {
console.log ("Looped once!");
a = false;
};
//Your code goes here!

};

soloLoop();


#4

Write your code as below and you are done:

var sololoop = function(){
var sololoop = true;
while(sololoop){

  console.log("Looped once!");
  sololoop = false;
  }

};
sololoop();


#5