We can also use the length of an array to create for loops that go through all of its elements.

For that, we repeat a loop as many times as there are elements in the array.