Table of Contents
Back Button
Back to Chapter
Control Statements
No items found.
Function & Events
No items found.
Array and its Types
No items found.
OOP : Object Oriented Programming
No items found.
Javascript Standards
No items found.
HTML DOM
No items found.
Javascript : Advanced 1
No items found.
Javascript : Advanced 2
No items found.
Additional JavaScript
No items found.

Introduction To Loops

Introduction

Loops are used to perform any specific task multiple times.

Technically, In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.

For Example : Lets say you want to print  "Hello World"  10 times, then what will you do?

You will write console.log("Hello World") 10 times. Right? But what if i ask you to write  "Hello World"  1000 or 10,000 Times. You can't use manual approach to achieve this.

So, We will you concepts of Loops to Achieve This.

Types of Loops

  1. While Loop
  2. Do/While Loop
  3. For Loop
  4. For In Loop
  5. For Of Loop

You Will Be Studying about them in Next Chapters.