JScript  

Expected 'while'

[This is preliminary documentation and subject to change]

You did not include the while condition in a do … while loop. A do statement must have a corresponding while test at the end of the code block.

To correct this error

See Also

while Statement | Controlling Program Flow | JScript Language Reference