function determineTotalDuration(seq) {
  let total = 0;
  for (let i in seq) {
    total += seq[i].duration;
  }

  return total;
}
/**
 * Get the total duration of the progress bar according to sequences durations
 *
 * @param {array} seq
 */
Get the total duration of the progress bar according to sequences durations
@param {array} seq
Get the total duration of the progress bar according to sequences durations @param { array } seq
function determineTotalDuration(seq) {
  let total = 0;
  for (let i in seq) {
    total += seq[i].duration;
  }
  return total;
}
function determineTotalDuration ( seq ) { let total = 0 ; for ( let i in seq ) { total += seq [ i ] . duration ; } return total ; }
Get the total duration of the progress bar according to sequences durations
 @param {array} seq
Get the total duration of the progress bar according to sequences durations @param { array } seq