code: function each(collection, fn, scope) {
    var i = 0,
      cont;
  
    for (i; i < collection.length; i++) {
      cont = fn.call(scope, collection[i], i);
      if (cont === false) {
        break; //allow early exit
      }
    }
  }
docs: Helper function for iterating over a collection
  
  @param collection
  @param fn
  @param scope