JavaScript break and continue
Table of Contents break continue break and labeled blocks break will stop the loop and move on to the code below the loop. continue will stop the current iteration and move back to the top of the loop, checking the condition (or in the case of a for loop, performing the statement and then checking the condition). break In the following code, we […]