kpengfang
//->typeof:用来检测数据类型的运算符  ->typeof value
//->局限性:
//1)typeof null ==>"object"
//2)typeof不能具体的区分是数组还是正则,因为只要是对象数据类型,返回的都是"object"
//->typeof typeof typeof [12,23] ==>"string"

//->instanceof:用来检测某一个实例是否属于这个类
//->constructor:构造函数
//->Object.prototype.toString.call([value])

分类:

技术点:

相关文章:

  • 2021-12-25
  • 2021-12-25
  • 2022-12-23
  • 2021-12-25
  • 2021-12-25
  • 2021-12-25
  • 2021-12-25
  • 2021-12-05
猜你喜欢
  • 2021-12-25
  • 2021-12-25
  • 2018-07-15
  • 2021-12-25
  • 2022-01-07
  • 2021-12-25
相关资源
相似解决方案