0
What is called Loop called loop in js?
5 Answers
+ 3
it is the code(iterative technique) to execute a block of program one or more time without writing it again and again.
It is used to reduce the size of code.
You can realize it when you working on project of more than 100 lines which consist of print statements.
+ 3
wait a second
+ 3
var i=0;
while (i<=4) {
document.write( "Good Day<br />");
i++;
}
+ 3
it is the simple example of while loop
0
For Example?