@songying
2018-10-10T17:55:55.000000Z
字数 152
阅读 991
JavaScript
var [x, y, z] = ['hello', 'JavaScript', 'ES6'];
let [x, [y, z]] = ['hello', ['JavaScript', 'ES6']]; //嵌套
let [, , z] = ['hello', 'JavaScript', 'ES6']; // 忽略某些元素