`i = last;` would be shorter than invoking the length property again