摘要: 为什么null不是对象 在 JS 中,存在六种原始类型:null、undefined、number、boolean、string、symbol 其中 null 不是对象,虽然 typeof null 会输出 object,但是这只是 JS 存在的一个悠久 Bug。在 JS 的最初版本中使用的是 32 阅读全文
posted @ 2021-03-16 18:08 yuan_bao_er 阅读(235) 评论(0) 推荐(0) 编辑