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 < 10); //Alerts "i" until "i" reaches 10.

Remarks

The doThis statement will always be executed at least once.

text_javascript aptana_docs