ES6 允许按照一定模式,从数组和对象中提取值,对变量进行赋值,这被称为解构 变量赋值(解构) let a = 1; let b = 1; let c = 1; = let [a,b,c] = [1,1,1] //es6 let { foo, bar } = { foo: 'aaa', bar