jquery源码

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

posted on 2015-07-22 20:53  wf110  阅读(200)  评论(0编辑  收藏  举报