How do we know this loop stops?

The keepGoing variable updates to false inside the code blockWe don't know if the loop stops

The keepGoing variable updates to false inside the code block.