ES6中允许从数组中提取值,按照对应的位置,对变量赋值,对象也可以实现解构 1.数组解构 <script> let array = [1, 2, 3]; let [a, b, c, d, e] = array; console.log(a); console.l