let arr = [1,2,3] let newArr = arr.slice().reverse(); //returns a reversed array without modifying the original console.log(arr, newArr) //[1,2,3] [3,2,1]