JavaScript——JS中的"=="转换规则

咱们知道,“=”、“==” 和“===”这三者之间是不同的。具体怎样的不同呢?今天来讲说“==”的转换规则。javascript 下面是一张“==”强制转换规则表。java 参数类型1 参数类型2 强制转换 null undefined 不转换,老是返回true null或undefined 其它任何非null或undefined的类型 不转换,老是返回false 原始类型:string、numb
相关文章
相关标签/搜索