判断数据类型的方式有哪些


  • typeof 操作符
  • instanceof 操作符
  • Array.isArray
  • Number.isInteger
  • isNaN