We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
注意点1:逻辑非
注意点2:隐式转换
[] == ![] // !比==的优先级高,先执行! [] == false // 当比较中有布尔值时,优先把布尔值转化为数值 [] == 0 // 当比较中是对象,另一个是数值或字符串,把对象转换成基础类型的值再比较(valueOf 和 toString) '' == 0 // 当字符串和数值对比时,把字符串转为数值进行对比 0 == 0 // 结果:true
The text was updated successfully, but these errors were encountered:
sihai00
No branches or pull requests
注意点1:逻辑非
注意点2:隐式转换
The text was updated successfully, but these errors were encountered: