While loops Intro


It works but I just don't understand how.

//Remember to set your condition outside the loop!
var count = function(){
var count = 0;
while(count < 3){
    console.log("I'm looping!");


What part of it vexes you?


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