Skip to content
New issue

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

《JavaScript深入之头疼的类型转换(下)》勘误 Thanks lb2019s #216

Open
llibiao opened this issue Oct 18, 2021 · 1 comment
Open

Comments

@llibiao
Copy link

llibiao commented Oct 18, 2021

== 相等 规范中
8. x 不是 字符串或者数字,y是对象,判断x == ToPrimitive(y)

  1. x是对象,y 不是 字符串或者数字,判断ToPrimitive(x) == y
    应为
    x 是 字符串或者数字
@mqyqingfeng
Copy link
Owner

@lb2019s 你好,这段应该是出自这篇 《JavaScript深入之头疼的类型转换(下)》

这里对应的规范是:

image

这里我确实是翻译错了,非常感谢你的指正,不胜感激~

@mqyqingfeng mqyqingfeng changed the title 小❌ 《JavaScript深入之头疼的类型转换(下)》勘误 Nov 13, 2021
@mqyqingfeng mqyqingfeng changed the title 《JavaScript深入之头疼的类型转换(下)》勘误 《JavaScript深入之头疼的类型转换(下)》勘误 Thanks lb2019s Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants