Array.forEach
if (!Array.prototype.forEach) {
Array.prototype.forEach = function (callback, thisArg) {
for (let i = 0; i < this.length; i++) {
if (this[i] !== undefined) {
callback.call(thisArg, this[i], i, this);
}
}
};
}