在js逻辑运算中,0、""、null、false、undefined、NaN都会判为false,其他都为true
转载于:https://www.cnblogs.com/mabelstyle/archive/2013/03/28/2986986.html
在js逻辑运算中,0、""、null、false、undefined、NaN都会判为false,其他都为true
转载于:https://www.cnblogs.com/mabelstyle/archive/2013/03/28/2986986.html