Find great deals on eBay for Woodstock Ticket in Music Memorabilia. Shop with confidence.
Instead of adding several almost equal lines in a script we can use loops to perform a task like this. In JavaScript there are two different kind of loops: for - loops through a block of code a specified number of times. while - loops through a block of code while a specified condition is true.
Do 'Statements to be executed inside the loop Loop Until condition. Here, âconditionâ is used as the loop backbone same as in case of While Loop. On each iteration Until checks if the âconditionâ evaluates to True or False. If the âconditionâ is False then the loop continues otherwise the loop ends.