Looping Directives: while and until

The while directive

A while loop continues until the loop conditional expression evaluates to a false value. Here’s an idiomatic infinite loop:

Get hands-on with 1400+ tech skills courses.