6. What is wrong in my code?


#1

whats wrong in my code??
var soloLoop = function(a){
//Your code goes here!
while(a===0){
console.log("looped once");
a++;
}
};

soloLoop(0);


6. Solo flight
#2

All good except for this.

The instruction's log statement is exactly this:

Looped once!

So, you have:

console.log("Looped once!");

Hope this helps! :slight_smile:


#3

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