📜  我如何使最大交换 javascript 堆栈溢出 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:26.760000             🧑  作者: Mango

代码示例1
let a = 1;
let b = 2;
[b, a] = [a, b]  // a = 2, b = 1