The Wayback Machine - https://web.archive.org/web/20201117113139/https://github.com/qianguyihao/Web/issues/110
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基础 #110

Open
1078559858 opened this issue May 6, 2020 · 0 comments
Open

javascript基础 #110

1078559858 opened this issue May 6, 2020 · 0 comments

Comments

@1078559858
Copy link

@1078559858 1078559858 commented May 6, 2020

章节: 06-运算符
错误描述:可以通过isNaN()函数来判断一个值是否是NaN
错误原因:undefined也是true, 所以不能通过isNaN来判断是不是NaN吧?

章节:05-typeof和数据类型转换
错误描述:如果字符串是一个空串或者是一个全空格的字符串,转换时会报错。
错误原因:转换为NaN,不报错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.