hunk.code_window:     const e1subs =    '^         !';
       const expected =  '----------(w|)';
       const predicate = function (x, y) {
         return Math.max(x, y);
       };
       expectObservable((<any>e1).min(predicate)).toBe(expected, { w: 666 });
       expectSubscriptions(e1.subscriptions).toBe(e1subs);
     });
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:       return x > y ? -1 : 1;
  
hunk.file_path: spec/operators/min-spec.ts
hunk.type: replace
file: /**
   * An error thrown when an element was queried at a certain index of an
   * Observable, but no such index or position exists in that sequence.
   *
   * @see {@link elementAt}
   * @see {@link take}
   * @see {@link takeLast}
   *
   * @class ArgumentOutOfRangeError
   */
  export class ArgumentOutOfRangeError extends Error {
    constructor() {
      const err: any = super('argument out of range');
      (<any> this).name = err.name = 'ArgumentOutOfRangeError';
      (<any> this).stack = err.stack;
      (<any> this).message = err.message;
    }
  }
  