布尔变量 转换

 

以下布尔判断均为false

0
-0
null
""
false
undefined
NaN
原文地址:https://www.cnblogs.com/niuniuniu/p/6378052.html