Answers for "9.6.1. while Loop Syntax"

0

9.6.1. while Loop Syntax

//The general syntax of a while loop looks like this:

while (boolean expression) {
   body
}

/*A while loop will continue to repeat as long as its boolean expression 
evaluates to true. The condition typically includes a value or variable 
that is updated within the loop, so that the expression eventually 
becomes false.*/
Posted by: Guest on June-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language