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

类型转换示例错误 #34

Open
Justalamb opened this issue Jul 25, 2023 · 0 comments
Open

类型转换示例错误 #34

Justalamb opened this issue Jul 25, 2023 · 0 comments

Comments

@Justalamb
Copy link

基础语法的类型转换中有一行示例为

"1" + NaN           // "NaN"

按照转换规则,会将NaN进行String(NaN)转换为“NaN"再继续字符串拼接,结果应该为"1NaN"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant