Until loop is used to execute a block of code until the expression is evaluated to be false. This is exactly the opposite of a while loop. While loop runs the code block while the expression is true and until loop does the opposite.
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis