判断题
let [bar, foo] = [1];foo的值为1。
错误
判断题 let [foo] = [];foo的值为undefined。
判断题 let a = 1;let b = 2;let c = 3;可以写成let [a, b, c] = [1, 2, 3];。
判断题 let [foo] = null;不会报错。