Monday, December 6, 2021

Do While loop in javascript

 var text = "";

var i = 0;

do

{

text+ = "The number is" +i;

i++;

}

While(i<5);

No comments:

Post a Comment