摘要: 1.判断一个数字是否是无穷的 isFinite()例:var aa=Number.POSITIVE_INFINITY; if(isFinite(aa)){ alert("aa不是无穷的") }else{ alert("aa是无穷的") } 2.判断数据类型typeof()例1:var i=Numbe 阅读全文
posted @ 2016-11-10 15:14 程曼曼 阅读(221) 评论(0) 推荐(0) 编辑