1.数组结构赋值
let [a,b,c]=[1,2,3]; console.log(a,b,c);
2.对象解构赋值
let obj={ a:1, b:2 } let {a,b}=obj; console.log(a,b);