贪玩冬日

文章
4
资源
0
加入时间
3年1月10天

JavaScript if为true的情况

变量如果不为0,null,undefined,false,都会被处理为true。只要变量有非0的值或是某个对象,数组,字符串,都会认为true转载于:https://www.cnblogs.com/shiyunfront/p/7337757.html...