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

🌶️第3期第3题:typeof typeof 0 的结果? #17

Open
LinDaiDai opened this issue Jun 10, 2020 · 0 comments
Open

🌶️第3期第3题:typeof typeof 0 的结果? #17

LinDaiDai opened this issue Jun 10, 2020 · 0 comments

Comments

@LinDaiDai
Copy link
Owner

typeof typeof 0 的结果?

(题目来源:https://github.com/30-seconds/30-seconds-of-interviews)

这道题其实不难,最终结果是"string"

过程分析:

  • typeof 0的结果为"number",是个字符串
  • 所以typeof "number"的结果是"string"
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

1 participant