dist/dom7.module.js
function each(callback) {
  // Don't bother continuing without a callback
  if (!callback) return this;
  // Iterate over the current collection
  for (let i = 0; i < this.length; i += 1) {
    // If the callback returns false
    if (callback.call(this[i], i, this[i]) === false) {
      // End the loop early
      return this;
    }
  }
  // Return `this` to allow chained DOM operations
  return this;
}
function each(callback) {
  // Don't bother continuing without a callback
  if (!callback) return this;
  // Iterate over the current collection
  for (let i = 0; i < this.length; i += 1) {
    // If the callback returns false
    if (callback.call(this[i], i, this[i]) === false) {
      // End the loop early
      return this;
    }
  }
  // Return `this` to allow chained DOM operations
  return this;
}
function each ( callback ) { // Don't bother continuing without a callback if ( ! callback ) return this ; // Iterate over the current collection for ( let i = 0 ; i < this . length ; i += 1 ) { // If the callback returns false if ( callback . call ( this [ i ] , i , this [ i ] ) === false ) { // End the loop early return this ; } } // Return `this` to allow chained DOM operations return this ; }
Iterate over the collection passing elements to `callback`
Iterate over the collection passing elements to callback