IE jscript 实现 Array.find()

由于IE 家族jscript不支持find,需要而外代码实现Array属性find的扩展

if (!Array.prototype.find) {
     Array.prototype.find = function (callback) {
         for(var i in this){
             if (callback(this[i], i, this)) {
                 return this[i];
             }
         }
         return null;
     }
 }