undefined,null,NAN,"",0,false为false,其余全为true
js转换布尔值
猜你喜欢
转载自blog.csdn.net/wangwenjie1997/article/details/89218238
今日推荐
周排行