Abrupt completion of the contained Statement is handled in the following manner:
break
with no label, no further action is taken and the for
statement completes normally.
continue
with no label, then the following two steps are performed in sequence:
for
iteration step is performed.
continue
with label L, then there is a choice:
for
statement has label L, then the following two steps are performed in sequence:
for
iteration step is performed.
for
statement does not have label L, the for
statement completes abruptly because of a continue
with label L.
for
statement completes abruptly for the same reason. Note that the case of abrupt completion because of a break
with a label is handled by the general rule for labeled statements (§14.6).