The `if (i)` here is redundant. The post-decrement operator returns the value of `i` before decrementing, so the first test of the while loop fails. You could create an infinite loop by constructing malformed input (e.g., `indexes = {length: Infinity}`) but that should never happen for an actual array input.