hunk.code_window:     this.size--;
       return true;
     }
     forEach(cb, thisArg) {
       for (let i = 0; i < this.size; i++) {
         cb.call(thisArg, this._values[i], this._keys[i]);
       }
     }
   }
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:   forEach(cb, thisArg): void {
  
hunk.file_path: src/util/MapPolyfill.ts
hunk.type: replace
file: /* globals describe, it, expect, spyOn */
  var Rx = require('../../dist/cjs/Rx');
  var Observable = Rx.Observable;
  var Observer = Rx.Observer;
  
  describe('Observable.interval', function () {
    it('should set up an interval', function () {
      var expected = '----------0---------1---------2---------3---------4---------5---------6-----';
      expectObservable(Observable.interval(100, rxTestScheduler)).toBe(expected, [0,1,2,3,4,5,6]);
    });
  
    it('should specify default scheduler if incorrect scheduler specified', function () {
      var scheduler = Observable.interval(10, jasmine.createSpy('dummy')).scheduler;
  
      expect(scheduler).toBe(Rx.Scheduler.asap);
    });
  
    it('should emit when relative interval set to zero', function () {
      var e1 = Observable.interval(0, rxTestScheduler).take(7);
      var expected = '(0123456|)';
  
      expectObservable(e1).toBe(expected, [0,1,2,3,4,5,6]);
    });
  
    it('should consider negative interval as zero', function () {
      var e1 = Observable.interval(-1, rxTestScheduler).take(7);
      var expected = '(0123456|)';
  
      expectObservable(e1).toBe(expected, [0,1,2,3,4,5,6]);
    });
  
    it('should emit values until unsubscribed', function (done) {
      var values = [];
      var expected = [0,1,2,3,4,5,6];
      var e1 = Observable.interval(5);
      var subscription = e1.subscribe(function (x) {
        values.push(x);
        if (x === 6) {
          subscription.unsubscribe();
          expect(values).toEqual(expected);
          done();
        }
      }, function (x) {
        done.fail('should not be called');
      }, function (x) {
        done.fail('should not be called');
      });
    });
  });
  