Skip to content

Latest commit

 

History

History

while-loop

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

JavaScript - While loop

While loop is also used to traverse the array, strings etc...

  • Syntax:
    initializer
    while (condition){
        // statements
        increment
    }