📜  将 true 更改为 false js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:14.998000             🧑  作者: 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