array = [0, 10, 20, 40] for (i = array.length() - 1; i >= 0; i--)
Here is what the above code is Doing:
1. We create an array of numbers.
2. We create a for loop that starts at the last index of the array and ends at the first index of the array.
3. We print out the value of the array at the current index.
4. We decrement the index by 1.
5. We repeat steps 3 and 4 until we reach the end of the array.