Which JavaScript statement is used to skip the current iteration and continue with the next?
-
A
break
-
B
continue
Correct answer
-
C
pass
-
D
skip
Correct answer
B. continue
13 views
Explanation
continue skips the rest of the current iteration and proceeds to the next. Source: Standard JavaScript content (FBISE-aligned).
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ