IE不支持字符串的includes()方法;可以用indexOf()替换;
includes()方法返回true和false;
var str = "asdklmn";
if(str.includes()){
}可用if(str.indexOf("dkl")>=0){
........
}替换;
IE11 - Object doesn't support property or method 'includes'
原文:http://www.cnblogs.com/xiao-lei/p/6308730.html