function getAdditionalData(rangeBar) {
  return Array.isArray(rangeBar) ? rangeBar[3] : rangeBar.additionalData;
}
Get the additional data object of the provided range bar.

@param {Object} rangeBar The range bar object.
@returns {Object} The additional data object.