📜  Javascript 交换新旧方法 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:02:59.549000             🧑  作者: Mango
代码示例3
let a = "red";
let b = "blue";
let c = a; // red
a = b; //over-rides to blue
b = c;
console.log(a);
console.log(b);