Merges multiple source ranges into a single source range that spans from the earliest start to the latest end. If you are interested in combining overlapping ranges into a minimal set of ranges, see combineRanges.
if no ranges are provided
Merges multiple source ranges into a single source range that spans from the earliest start to the latest end. If you are interested in combining overlapping ranges into a minimal set of ranges, see combineRanges.