repeat updates to true inside the code block causing an infinite loopNothing's wrong with this codeThe condition doesn't return a boolean valueWe can't place += inside a code block
repeat updates to true inside the code block causing an infinite loop.