摘要: javascript 的非数值(NaN)有点特殊 他和任何数都不相等 包括自身。所以没办法通过x == NaN 判断 x是否是NaN应该使用x != xisNaN 函数isFinite函数 阅读全文
posted @ 2015-06-11 11:32 ElvinLong 阅读(575) 评论(0) 推荐(0) 编辑
摘要: http://javasam.iteye.com/blog/2051645 阅读全文
posted @ 2015-06-11 11:09 ElvinLong 阅读(308) 评论(0) 推荐(0) 编辑