我有这两个变量:
var a = 1, b = 2;
我的问题是如何交换它们?只有这个变量,不是任何对象.
javascript variables swap
javascript ×1
swap ×1
variables ×1