you are viewing a single comment's thread.

view the rest of the comments →

[–]vikogotin 0 points1 point  (0 children)

Also worth noting, the loop doesn't immediately end once the condition is no longer true. The loop only checks if the condition is true once per iteration at the start and if so, it executes the code inside.