ex05-14-3
実行結果
1
2
ソース
const arr = [1, 2, 3]; let [x, y] = arr; console.log(x); // 1 console.log(y); // 2