The continue statement is outside a loop. The continue statement can be used only within the body of a:
-
do-while loop,
-
while loop,
-
for loop,
-
for/in loop.
To correct this error
-
Make sure the continue statement appears within the body of a:
-
do-while loop,
-
while loop,
-
for loop,
-
for/in loop.
-
See Also
Reference
continue StatementConcepts
Other Resources
JScript Conditional StructuresJScript Reference