const a=[0,1,2,3,4]; const [,...b]=a; console.log(b) let x=b.map((v,i)=>v-a[i]); 找到数组中的最大值 Math.max(...cha)