js的数据类型分成原始类型(primitive)和 合成类型 (complex)

最初版本的区分是  null是一个标识  无的对象, 转为数值为0, undefined 是表示无的原始值,转为数值时未NAN

js 中 的 null 与 undefined

 

js 中 的 null 与 undefined

相关文章:

  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
猜你喜欢
  • 2021-10-08
  • 2021-05-15
  • 2022-01-19
相关资源
相似解决方案