摘要: // 类型检测 typeof str //检测string boolean number undefind toString.call(obj) //检测 null function object array...等对象 a instanceof Object //a是否是由 Object构造 阅读全文
posted @ 2017-09-04 15:54 DaivdAndLemon 阅读(98) 评论(0) 推荐(0)
摘要: 传送门 阅读全文
posted @ 2017-09-04 10:20 DaivdAndLemon 阅读(140) 评论(0) 推荐(0)