Discussion Forum | Board Infinity

What are all the looping structures in JavaScript?

What are all the looping structures in JavaScript?

1 Like

There are 3 looping structures in java script.

While loop
While(condition){

}
Do while
Do{

}while(condition)

For loop
For(initialization; condition; increment){

}

ONE MORE . you can use the recursion function to loop .

2 Likes

Thanks

1 Like