code: function isEqualRange(range1, range2) {
      return range1.from === range2.from && range1.to === range2.to;
  }
docs: Returns `true` if ranges are equal.
  
  @param {{from: number, to: number}} range1 — the range to check.
  @param {{from: number, to: number}} range2 — the range to check.
  
  @returns {Boolean}