JS中为false的六种情况
下面的值为false:
false
null
undefined
"" 即空字符串
0
NaN
参考:https://blog.csdn.net/peade/article/details/54731213