The break statement is used to exit out of a while loop. If more then one while loop is nested, the break statement breaks out of the innermost loop.
break // exit the while loop
The continue statement continues again at the top of the loop, just before condition expression is evaluated.
continue // continue at the top of the while loop