platform/video.videojs/dist/video.es.js
function createTimeRanges(start, end) {
  if (Array.isArray(start)) {
    return createTimeRangesObj(start);
  } else if (start === undefined || end === undefined) {
    return createTimeRangesObj();
  }
  return createTimeRangesObj([[start, end]]);
}
function createTimeRanges(start, end) {
  if (Array.isArray(start)) {
    return createTimeRangesObj(start);
  } else if (start === undefined || end === undefined) {
    return createTimeRangesObj();
  }
  return createTimeRangesObj([[start, end]]);
}
Should create a fake `TimeRange` object which mimics an HTML5 time range instance.

@param {number|Array} start
The start of a single range or an array of ranges

@param {number} end
The end of a single range.

@private