摘要: 原生js函数官方文档:http://www.w3school.com.cn/js/jsref_parseInt.asp实例应用:document.write(parseInt('',10)+'<br/>');//NaNdocument.write(Boolean( parseInt('',10) )+'<br/>');//falsedocument.write(parseInt('0.5',10)+'<br/>');//0document.write(Boolea 阅读全文
posted @ 2013-01-04 18:12 龙则 阅读(208) 评论(0) 推荐(0) 编辑