Learn Javascript, Loops, for loops inside of for loops, Codecademy

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=UvjYnVCUKjk



Duration: 4:43
1,005 views
9


In this javascript tutorial, we learn about how a for loop inside of a for loop works. For loops inside of for loops can be used to go through 2 lists and compare items in them together. This can be done by nesting one loop inside of another one. In the second loop we use an if statement to compare the first count (i) with the second count(j)







Tags:
codecademy
learn javascript
javascript loops
loops in javascript
javascript tutorial