while loop
Also written: while, while (true)
A loop that checks its condition, runs the block if true, then checks again. `while (true)` never stops on its own, so it suits stopping with `break`.
Also written: while, while (true)
A loop that checks its condition, runs the block if true, then checks again. `while (true)` never stops on its own, so it suits stopping with `break`.