zl程序教程

您现在的位置是:首页 >  前端

当前栏目

jquery源码

2023-09-11 14:18:04 时间

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并且是 有限的数字