[a, b] = [10, 20];
console.log(a);
// expected output: 10
console.log(b);
// expected output: 20
[a, b, ...rest] = [10, 20, 30, 40, 50];
console.log(rest);
// expected output: [30,40,50]
const { latitude, longitude } = position.coords;
[[https://www.nxworld.net/js-array-shuffle.html|JavaScript:配列内の要素をシャッフル(ランダムソート)する方法]]