📜  javascript 交换 - Javascript 代码示例

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

代码示例2
var first = 5;
var second = 7;

var third = first;
var first = second;

console.log(first)
console.log(third)
//Output: 7,5