^-^
杂乱写东西的地方
javascript 类型判断方法总结
最近更新:2024-12-02   |   字数总计:1k   |   阅读估时:4分钟   |   阅读量:
  1. 1. ==
  2. 2. ===
  3. 3. Object.is
  4. 4. typeof
  5. 5. instanceof
  6. 6. 自己写一个 instanceof
  7. 7. Object.prototype.toString.call
  8. 8. Array.isArray
  9. 9. 总结
  10. 10. 资料