Practice makes perfect


#1

So here is my code for the exercise:

//Remember to set your condition outside the loop!
var count = 0;

var loop = function(){
while(count < 3){
//Your code goes here!
console.log("I'm looping");
count++;
}
};

loop();

The console reads:
I'm looping
I'm looping
I'm looping

And the msg I get is "Oops, try again. It looks like you're not printing the right string to the console."

I'm puzzled on this one. Can anyone help?

Thank you.


#2

I just realized the problem. Lack of exclamation mark (1).......