In this case i represents the index of the last element in the array, which is 2 for the initial array.
Loading collection data...
In this case i represents the index of the last element in the array, which is 2 for the initial array.