Solo flight


#1


https://www.codecademy.com/en/courses/javascript-beginner-en-NhsaT/2/2?curriculum_id=506324b3a7dffd00020bf661#


ERROR: Not printing right string to console.
Thought this one was pretty clear...


var myCondition = true;

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

soloLoop();


#2

"Looped once! - correct string
"Looped Once" - not correct

You just need change "Looped Once" to "Looped once!".


#3

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