Not exactly true
Actually, that statement isn't exactly true.
The state of all four arrow keys is checked during a single iteration:
For example, if a true value is found in the array element that represents the up-arrow key,
The elements for the remaining three keys are not checked during that iteration.