NodeList.prototype.forEach = NodeList.prototype.forEach || function (callback) { for(let i = 0; i < this.length; i++){ callback.call(this[i],this[i],i) } };
NodeList.prototype.forEach = NodeList.prototype.forEach || function (callback) { for(let i = 0; i < this.length; i++){ callback.call(this[i],this[i],i) } };
转载于:https://www.cnblogs.com/triz/p/9603997.html