Control Transfer Statements
Use the continue statement with loops to stop code execution and return to the beginning of the loop’s code block. For example, let’s say you wanted to print out the numbers 1 through 10 to the console log screen. You could do something like Listing 25-1.