ArrayList.js
function (list) {
    var result = false;
    list.forEach(function (e) {
      result |= this.removeElement(e);
    }.bind(this));
    return result;
  }
function (list) {
    var result = false;
    list.forEach(function (e) {
      result |= this.removeElement(e);
    }.bind(this));
    return result;
  }
function ( list ) { var result = false ; list . forEach ( function ( e ) { result |= this . removeElement ( e ) ; } . bind ( this ) ) ; return result ; }
Remove all the elements in another collection

@param list
@returns {boolean}
Remove all the elements in another collection