Lecture No 38 Advance JavaScript deep learning nested Loops urdu/hindi #javascript #advance



Advance Javascript Playlist:
https://www.youtube.com/watch?v=Sc5rXAJOZiE&list=PLrBwmemH_D8uWFctW8Jgs20VefDXEv5iB
Introduction to Nested Loop in JavaScript
Nested Loop is a loop that is present inside another loop. Javascript supports the nested loop in javascript. The loop can have one or more or simple can have any number of loops defined inside another loop, and also can behave n level of nesting inside the loop. The nested loop is also called as inner loop and the loop in which the nested loop defined is an outer loop. The outer loop always executes first and the inner loop executes, the inner loop executes each time the outer loop executes once. In the case of multi-level nested an outer loop executes first and then the 1st inner loop executes and then 2nd inner loop executes and so on. Any type of nested loop can be defined inside any type of loops.

Comments are closed.