https://github.com/lianbinghua

摘要: var str='abc123';num=parseInt(str); if(num==NaN){ alert('NaN');}else if(num==123){ alert('123');}else if(typeof(num)=='number'){ alert('number');}else 阅读全文
posted @ 2016-05-28 20:31 连冰华 阅读(184) 评论(0) 推荐(0)