:::

11. While Loop Syntax

you saw how awhile loop can be used to repeat a set of commands an unknown number of times. That loop used the following syntax:

while(cond) {
   // looped statements go here
}

 


:::

語系選擇