ES6结构赋值相关知识
注意:1,声明和赋值不能分开.
2,等号两边解构必须相同
let [a,b,c]=[12,2,3]; let {a,b,c}={"a":1,"b":2,"c":3};let [{q,w},[a1,a2,a3],num,str]=[{a:12,b:4},[1,2,3],5,'casd'];