Help? 5/11 Javascript


#1


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


Error: Unspecified error.


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

soloLoop();


#2

a while loop:

while (condition){

}

the curly brackets ({}) of your while loop are missing


#3

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