LinDaiDai/niubility-coding-js

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

Opened this issue · 0 comments

typeof typeof 0 的结果?

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

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

过程分析:

  • typeof 0的结果为"number",是个字符串
  • 所以typeof "number"的结果是"string"