class AggregateTracker { constructor(trackers) { this._trackers = trackers; } poll() { const media = [] for (let tracker of this._trackers) media.push.apply(tracker.poll()); return media; } }