会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jQuery火箭图标返回顶部代码
小狮子001
再长的路,一步步也能走完,再短的路,不迈开双脚也无法到达。
博客园
首页
新随笔
联系
订阅
管理
2017年1月19日
IE11 - Object doesn't support property or method 'includes'
摘要: IE不支持字符串的includes()方法;可以用indexOf()替换; includes()方法返回true和false; var str = "asdklmn"; if(str.includes()){ }可用if(str.indexOf("dkl")>=0){ ........ }替换;
阅读全文
posted @ 2017-01-19 20:39 小狮子001
阅读(1650)
评论(0)
推荐(0)
公告