HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

while

Description

The while of Iterations for JS iterates a loop while the condition is true.

It is similar to a for statement but has different syntax.

Syntax

while(condition)
{
    code
}

Examples

1