摘要: 1、检测字符串、数值、布尔值、undefined、function 使用typeof(在Safari和Chrome中检测正则也会返回 "function")2、检测null 应用“===”3、检测其它对象: 方法一:利用instanceof/constructor (再某些ie版本中存在跨ifra... 阅读全文
posted @ 2016-01-15 15:04 黑客PK 阅读(244) 评论(0) 推荐(0) 编辑
摘要: http://www.iconfont.cn/help/platform.htmlhttp://www.iconfont.cn/users/project点击下载之后:打开demo.html:引入需要的文件即可 阅读全文
posted @ 2016-01-15 10:49 黑客PK 阅读(193) 评论(0) 推荐(0) 编辑