ArrayList.js
function (elements) {
    if (!_.isArray(elements)) {
      elements = [ elements ];
    }
    elements.forEach(function (e) {
      this.push(e);
    }.bind(this));
    return this;
  }
function (elements) {
    if (!_.isArray(elements)) {
      elements = [ elements ];
    }
    elements.forEach(function (e) {
      this.push(e);
    }.bind(this));
    return this;
  }
function ( elements ) { if ( ! _ . isArray ( elements ) ) { elements = [ elements ] ; } elements . forEach ( function ( e ) { this . push ( e ) ; } . bind ( this ) ) ; return this ; }
Add elements to the list

@param elements
@returns {ArrayList}
Add elements to the list