function storeElapsedTimeOnPause() {
    // Break down elapsed time from display test
    const brokenDownElapsedTime = elapsedTimeText.innerText.split(":");

    // Convert list to numbers
    const brokenDownElapsedTimeAsNumbers = brokenDownElapsedTime.map(numberAsString => parseInt(numberAsString));

    // Store the hours minutes and seconds from that time
    elapsedTimeWhenPaused = {
        hours: brokenDownElapsedTimeAsNumbers.length === 3 ? brokenDownElapsedTimeAsNumbers[0] : 0,
        minutes: brokenDownElapsedTimeAsNumbers.length === 3 ? brokenDownElapsedTimeAsNumbers[1] : brokenDownElapsedTimeAsNumbers[0],
        seconds: brokenDownElapsedTimeAsNumbers.length === 3 ? brokenDownElapsedTimeAsNumbers[2] : brokenDownElapsedTimeAsNumbers[1]
    }
}
/** Stores the elapsed time hours, minutes and seconds details
 * on pause*/
Stores the elapsed time hours, minutes and seconds details
on pause
Stores the elapsed time hours minutes and seconds details on pause
function storeElapsedTimeOnPause() {
    const brokenDownElapsedTime = elapsedTimeText.innerText.split(":");
    const brokenDownElapsedTimeAsNumbers = brokenDownElapsedTime.map(numberAsString => parseInt(numberAsString));
    elapsedTimeWhenPaused = {
        hours: brokenDownElapsedTimeAsNumbers.length === 3 ? brokenDownElapsedTimeAsNumbers[0] : 0,
        minutes: brokenDownElapsedTimeAsNumbers.length === 3 ? brokenDownElapsedTimeAsNumbers[1] : brokenDownElapsedTimeAsNumbers[0],
        seconds: brokenDownElapsedTimeAsNumbers.length === 3 ? brokenDownElapsedTimeAsNumbers[2] : brokenDownElapsedTimeAsNumbers[1]
    }
}
function storeElapsedTimeOnPause ( ) { const brokenDownElapsedTime = elapsedTimeText . innerText . split ( ":" ) ; const brokenDownElapsedTimeAsNumbers = brokenDownElapsedTime . map ( numberAsString => parseInt ( numberAsString ) ) ; elapsedTimeWhenPaused = { hours : brokenDownElapsedTimeAsNumbers . length === 3 ? brokenDownElapsedTimeAsNumbers [ 0 ] : 0 , minutes : brokenDownElapsedTimeAsNumbers . length === 3 ? brokenDownElapsedTimeAsNumbers [ 1 ] : brokenDownElapsedTimeAsNumbers [ 0 ] , seconds : brokenDownElapsedTimeAsNumbers . length === 3 ? brokenDownElapsedTimeAsNumbers [ 2 ] : brokenDownElapsedTimeAsNumbers [ 1 ] } }
Stores the elapsed time hours, minutes and seconds details
 on pause
Stores the elapsed time hours minutes and seconds details on pause
// Break down elapsed time from display test // Convert list to numbers // Store the hours minutes and seconds from that time