function updateMinutes(minutes, changeMinute) {
  if (changeMinute) {
    --minutes;
  }

  return minutes < 0 ? 59 : minutes;
}
/**
 * Calculates the next minute to be displayed
 * Minutes will be updated every 60 seconds
 * @param {Number} minutes - minutes to be updated
 * @param {Boolean} changeMinute - Should minute be updated
 * @return {Number} - next minute
 */
Calculates the next minute to be displayed
Minutes will be updated every 60 seconds
@param {Number} minutes - minutes to be updated
@param {Boolean} changeMinute - Should minute be updated
@return {Number} - next minute
Calculates the next minute to be displayed Minutes will be updated every 60 seconds @param { Number } minutes - minutes to be updated @param { Boolean } changeMinute - Should minute be updated @return { Number } - next minute
function updateMinutes(minutes, changeMinute) {
  if (changeMinute) {
    --minutes;
  }
  return minutes < 0 ? 59 : minutes;
}
function updateMinutes ( minutes , changeMinute ) { if ( changeMinute ) { -- minutes ; } return minutes < 0 ? 59 : minutes ; }
Calculates the next minute to be displayed
 Minutes will be updated every 60 seconds
 @param {Number} minutes - minutes to be updated
 @param {Boolean} changeMinute - Should minute be updated
 @return {Number} - next minute
Calculates the next minute to be displayed Minutes will be updated every 60 seconds @param { Number } minutes - minutes to be updated @param { Boolean } changeMinute - Should minute be updated @return { Number } - next minute