js中布尔数据类型的转换 Boolean()方法转换成布尔值为false的情况 字符串转布尔值 为false ——空字符串数值类型转布尔值 为false ——0,0.0,NaN对象类型转布尔值 为false ——null