Convenience function to utilize an Array's forEach method on NodeLists
var forEach = function(list, callback, ctx) { | |
return Array.prototype.forEach.call(list, callback, ctx); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment