`Array#each` and `Array#each_index` check against `length` on every iteration, not against the value of `length` before the first iteration