JavaScript中数据类型和typeof返回的数据类型

除了上图,要注意三点:1、symbol是ES6中新增的数据类型

           2.typeof(null)结果是Object

               3.typeof(Object)和typeof(Array)的结果是function,因为Object和Array本身就是内置函数。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2018-04-21
  • 2021-11-17
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案