上一章请见: 1. ES6 随记(1)-- let 与 const 3. 解构赋值 a. 数组的解构赋值 let [a1, b1, c1] = [1, 2, 3]; console.log(a1, b1, c1); // 1 2 3 let [a2, , c2] = [1, 2, 3]; console.log(a2, c2); // 1 3 let [a3, b3, c3] = [1, 2]; console.log(a3, b3, c3); // 1 2 undefined let [a4,…