index.js
function rangesIntersect(rangeA, rangeB) {
  return rangeA.compareBoundaryPoints(Range.END_TO_START, rangeB) === -1 &&
    rangeA.compareBoundaryPoints(Range.START_TO_END, rangeB) === 1
}
function rangesIntersect(rangeA, rangeB) {
  return rangeA.compareBoundaryPoints(Range.END_TO_START, rangeB) === -1 &&
    rangeA.compareBoundaryPoints(Range.START_TO_END, rangeB) === 1
}
function rangesIntersect ( rangeA , rangeB ) { return rangeA . compareBoundaryPoints ( Range . END_TO_START , rangeB ) === - 1 && rangeA . compareBoundaryPoints ( Range . START_TO_END , rangeB ) === 1 }
return true if `rangeA` intersects `rangeB`
return true if rangeA intersects rangeB