📜  Javascript 交换 - Javascript 代码示例

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

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

var third = first;
var first = second;

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