I currently have an array in the following format:
var arr = [1,2,3,4]
// Add another element to the array
arr.push(5)
// Now, arr = [1,2,3,4,5]
I want to print my array as
The elements in the array arr are:
5,1,2,3,4
When I use Arr.reverse(), it returns 5,4,3,2,1. However, my desired output is 5,1,2,3,4