Skip to main content

On Edge

 if(!NodeList.prototype.forEach) {   NodeList.prototype.forEach = function(fn, scope) {   for(var i = 0, len = this.length; i < len; ++i) {   fn.call(scope, this[i], i, this);   }   }  } 

On Edge

 if(!NodeList.prototype.forEach) {   NodeList.prototype.forEach = function(fn, scope) {   for(var i = 0, len = this.length; i < len; ++i) {   fn.call(scope, this[i], i, this);   }   }  } 

On Edge

if(!NodeList.prototype.forEach) { NodeList.prototype.forEach = function(fn, scope) { for(var i = 0, len = this.length; i < len; ++i) { fn.call(scope, this[i], i, this); } } } 
Source Link
Tiago Pertile
  • 1.1k
  • 2
  • 7
  • 9

On Edge

 if(!NodeList.prototype.forEach) { NodeList.prototype.forEach = function(fn, scope) { for(var i = 0, len = this.length; i < len; ++i) { fn.call(scope, this[i], i, this); } } }