Updated 'for'. It caches the array size, so we don't need to recalculate the size at every iteration.