function curtail(arr) {
    //方法一
    //return arr.slice(1);
    
    //方法二
    const [,...rest]=arr;
    return rest;
}