null  与 undefined 都是  ==null 为true

 

alert(typeof(123))  number

alert(typeof(NAN))   打印 number

不靠谱

alert($.isNumric(NAN))

 1 isNumeric: function( obj ) { 2 return !isNaN( parseFloat(obj) ) && isFinite( obj ); 3 },  

非NAN并且是 有限的数字

相关文章:

  • 2022-12-23
  • 2021-10-12
  • 2022-01-19
  • 2021-12-10
  • 2021-10-12
  • 2021-10-12
  • 2021-10-12
  • 2021-10-12
猜你喜欢
  • 2022-02-11
  • 2022-02-06
  • 2021-11-22
  • 2022-02-13
  • 2021-09-29
  • 2022-02-21
相关资源
相似解决方案