.forEach() method iterates over all elements in the NodeList, and the iterator function takes the current element as its first argument (which is your aptly named
element parameter). This is part of the DOM specification, there is no jQuery involved here.
It should be noted though that some browsers fail to implement the full DOM specs; to make it work in IE as well, you'll have to "borrow" the
.forEach() method from the Array prototype first:
NodeList.prototype.forEach = Array.prototype.forEach
(PS: or not to override existing native implementations:)
NodeList.prototype.forEach = NodeList.prototype.forEach || Array.prototype.forEach