It's not working and I don't know why


#1

var i = 0;

var loop = function() {
while(i < 3) {
console.log("I'm looping");
i++;
}
};

loop();


#2

Nevermind I just needed to add the "!"


#3

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