Change Language


Follow Navioo On Twitter

do...while

Acts as a loop that continues to execute the doThis statement until the while expression is false.

Syntax

do doThis 
while (expression)

Example

 do {
	   i += 1;
	   alert(i);
	} while (i 

Remarks

The doThis statement will always be executed at least once.

text_javascript Navioo_docs

Examples -> Source code Demo online - > while:

Ajax Javascript feed

↑ Grab this Headline Animator