constructor(maxWindow = 1000) {
  // end::description[]
  // tag::solution[]
    this.window = maxWindow;
    this.queue = new Queue();
  // end::solution[]
  // tag::description[]
  }
@param {number} maxWindow - Max. time window (in ms) for counting requests
 Defaults to 1 second (1000 ms)