1.数组的解构赋值 //数组解析 let [a,b,c] = [1,2,3]; //a=1;b=2;c=3 //嵌套数组 let [a,[b,c]] = [1,[2,3]];//a=1;b=2;c=3 //空缺变量 let [a,,c] = [1,2,3]; //a=1,c=3 //... let [a,...other] = [1,2,3];//a=1;other=[2,3] //多余变量 let [a,b,c] = [1,2];//a=1,b=2,c=undefined let [a,b,.