Desestructuracin JavaScript
let a, b;
[a, b] = [1, 2];
console.log(a); // 1
console.log(b); // 2
Black Bear
let a, b;
[a, b] = [1, 2];
console.log(a); // 1
console.log(b); // 2