while Statement (JavaScript)
JavaScript - Internet Explorer 10
Executes a statement or series of statements until a specified condition is false.
while (expression) {
statements
}
Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards. Also supported in Windows Store apps. See Version Information.