reverse method to reverse our array.
For instance, we write
myList after making a copy of it with the spread operator.
Then we call
map with the
createListItem function which renders the item we want.