Comment faire le plus grand débordement de pile javascript swap

let a = 1;
let b = 2;
[b, a] = [a, b]  // a = 2, b = 1
Adorable Alpaca