let a, b, rest; [a, b] = [10, 20]; console.log(a); ... ECMAScript 中的其餘/展開屬性在proposal (stage 4) 新增了在解構式內使用其餘(rest) 語法 ...
確定! 回上一頁