Answers for "how to repeat a message in the console log"

0

how to repeat a message in the console log

var loops = 0;

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

loop();
Posted by: Guest on June-11-2021

Code answers related to "how to repeat a message in the console log"

Browse Popular Code Answers by Language