javascript de l'esstructuracine

let a, b;

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