IE兼容性 ---解决find方法

//判断是否有find方法
if
(!Array.prototype.find){ Array.prototype.find = function(callback) { return callback && (this.filter(callback) || [])[0]; }; }
原文地址:https://www.cnblogs.com/blogwolf/p/13218766.html