nan是非数字类型,返回的是一个非数值的类型
alert(typeof (NaN)) ——> number
alert(typeof 2) ——>number
alert(typeof {})——> object
alert(typeof [])——> object
alert(typeof null) ——> object
alert (typeof undefined) —> undefined
alert (typeof object) ——>function
js笔试题小试牛刀(1)
js笔试题小试牛刀(1)
js笔试题小试牛刀(1)
js笔试题小试牛刀(1)
优先级:
变量 > 函数> 参数 > 提升

相关文章:

  • 2021-07-07
  • 2021-10-24
  • 2021-06-09
  • 2021-05-05
  • 2021-07-03
  • 2021-11-08
  • 2021-05-21
猜你喜欢
  • 2022-02-28
  • 2021-10-02
  • 2021-11-12
  • 2022-12-23
  • 2021-11-05
相关资源
相似解决方案