摘要: 1.typeof(a)=="number" 是true,但是a instanceof Number却为false,不理解 2.isNaN()不能判断一个变量是否为数字类型,isNaN(123)值为false,isNaN('123')值也为false。isNaN() 的实际作用跟它的名字isNaN并不 阅读全文
posted @ 2017-07-17 11:48 yyzyyx 阅读(23866) 评论(0) 推荐(1) 编辑