code: function lrem(count, value) {
    var ind, deleted = 0;
    if(count === 0) {
      while((ind = this.indexOf(value)) !== -1) {
        this._data.splice(ind, 1);
        deleted++;
      }
    }else if(count > 0) {
      while((ind = this.indexOf(value)) !== -1 && (deleted < count)) {
        this._data.splice(ind, 1);
        deleted++;
      }
    }else{
      count = Math.abs(count);
      while((ind = this.lastIndexOf(value)) !== -1 && (deleted < count)) {
        this._data.splice(ind, 1);
        deleted++;
      }
    }
    return deleted;
  }
docs: Removes elements from the list.