1.数组的解构赋值 a.基本用法:(‘模糊匹配’) let [a, b, c] = [1, 2, 3]; a b c b.嵌套数组结构例子: let [x, , y] = [1, 2, 3]; x y ------------------------------------------------ let [head, ...tail] = [1, 2, 3, 4]; head tail // [2, 3, 4] -----------------------------------------…