📜  javascript 切换变量 - Javascript 代码示例

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

代码示例1
var thing = true; //try changing this to false
thing = !thing; //the variable will go from true to false, or from false to true