Change Language


Follow Navioo On Twitter

while

Executes a statement while the specified expression is true.

Syntax

 while (expression)
statement 

Example

 n = 0;
  while (n 

Remarks

Use a while loop as a shorthand version of a "counter" for loop.

text_javascript Navioo_docs

Ajax Javascript feed

↑ Grab this Headline Animator