Issue with solo flight


#1


//Remember to make your condition true outside the loop!
var myCondition = true;

var soloLoop = function(){
  while(myCondition){
    console.log("Looped Once!");
    myCondition = false;
}
};

soloLoop();

this doesnt seem to work... even though the loop works says that im printing the wrong string


#2

nvm i seen the issue. Once was supposed to be lower case. lol jees


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.