The syntax is
Since step is -1, we count backwards. Since start is -1, we start at the end of the list. Then we count backwards to (but not including) index -5. So, assuming the list contains four or more items, we'll get values for indexes -1, -2, -3, and -4. That will reverse the order of the elements in the list.