Java Script


JavaScript Tutorial


Admission Enquiry Form


What are Loops in JavaScript ?

Looping Statements also called as itrative statements.Loop decides how many times to execute a statement,means it is used for repetition of statements.

There are two type of Loops

  1. Known Loop
  2. Unknown Loop

Known Loop

In known loop we know the number of repetition in the code.It includes for loop.

Unknown Loop

In unknown loop we do not know the number of repetition in the code.It includes while and do while loop.