标签:span style logs name blog es6 bsp ons ==
let {name,age}={name:‘asa‘,age:134};
console.log(name)==>‘asa‘
console.log(age)==>134
let [x,y]=[1,2,3]
console.log(x)===>1
console.log(y)===>2
标签:span style logs name blog es6 bsp ons ==
原文地址:http://www.cnblogs.com/lwwen/p/7525212.html