Menu Bar

JS: Loops

Chapter: 12 Loop conditions
                      1. For loop: Display 10 number using for loop
                      2. While loop: Display 10 numbers using while loop
                      3. Break: break the for loop if the value is 8

Code:
          
            

Output: