1.for循环2.reverse() 1.for循环 2.reverse()var arr1=[1,2,3,4,5];var arr2=[];for(i=4;i>=0;i--){ arr2[arr2.length]=arr1[i];}console.log(arr1)var arr=["html","css","js"]; console.log(arr.reverse());