how do i make largest swap javascript stack overflow code example
Example: how do i make largest swap javascript stack overflow
let a = 1;
let b = 2;
[b, a] = [a, b] // a = 2, b = 1
let a = 1;
let b = 2;
[b, a] = [a, b] // a = 2, b = 1