0

What is called Loop called loop in js?

1st Jan 2017, 9:04 AM
TherBishal
TherBishal - avatar
5 Antworten
+ 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.
1st Jan 2017, 9:12 AM
Ajay Agrawal
Ajay Agrawal - avatar
+ 3
wait a second
1st Jan 2017, 9:14 AM
Ajay Agrawal
Ajay Agrawal - avatar
+ 3
var i=0; while (i<=4) { document.write( "Good Day<br />"); i++; }
1st Jan 2017, 9:23 AM
Ajay Agrawal
Ajay Agrawal - avatar
+ 3
it is the simple example of while loop
1st Jan 2017, 9:23 AM
Ajay Agrawal
Ajay Agrawal - avatar
0
For Example?
1st Jan 2017, 9:14 AM
TherBishal
TherBishal - avatar