js类型转换 发表于 2018-12-18 | 分类于 JavaScript 字数统计: 33 | 阅读时长 ≈ 1 在使用if(xxx){}时,xxx只需记住这5个false值,其他的都会转换为true,另外不要用==用=== NaN undefined null 0 ‘’