function reverseArray(arr) { let reversed = []; for (i = 0; i < arr.length; i++) { reversed.push((arr[arr.length-1-i])) } return reversed; }