摘要: 判断js中的数据类型有一下几种方法:typeof、instanceof、 constructor、 prototype、 $.type()/jquery.type(),接下来主要比较一下这几种方法的异同。 先举几个例子: 1 var a = "iamstring."; 2 var b = 222; 阅读全文
posted @ 2019-03-08 11:15 echo丶若梦 阅读(533) 评论(0) 推荐(0) 编辑