Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dshaw/384098 to your computer and use it in GitHub Desktop.
Save dshaw/384098 to your computer and use it in GitHub Desktop.
Array.prototype.forEach implementation in TWTR widget.js
// from http://twitter.com/javascripts/widgets/widget.js
if(!Array.forEach){Array.prototype.forEach=function(D,E){var C=E||window;for(var B=0,A=this.length;B<A;++B){D.call(C,this[B],B,this)}};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment