Help me to correct my code
function timeFour (hour1, min1, sec1) { if (hour1 > 0 && min1 > 0) { let sec4 = hour1 * 3600; let sec5 = min1 * 60; let sec6 = sec4 + sec5; console.log(`${sec6 + sec1} second`) } else if (hour1 > 0) { let sec2 = hour1 * 3600; console.log(`${sec2 + sec1} second`) } else if (min1 > 0) { let sec3 = min1 * 60; console.log(`${sec3 + sec1} second`) } else { console.log(`${sec1}`) } } timeFour(12,1,0) function timeFive (hourTwo, minTwo, secTwo) { if (hourTwo > 0 && 0 < minTwo) { let secFive = hourTwo * 3600; let secSix = minTwo * 60; let secSeven = secFive + secSix; console.log(`${secSeven + secTwo} second`) } else if (hourTwo > 0) { let secThree = hourTwo * 3600; console.log(`${secThree + secTwo} second`) } else if (minTwo > 0) { let secFour = minTwo * 60; console.log(`${secFour + secTwo} second`) } else { console.log(`${secTwo}`) } } timeFive(14,1,0) function timeSix(time1, time2) { let timeSeven = time2 - time1; console.log(timeSeven) } timeSix(time1 = timeFour(), time2 = timeFive()) function time(timeSeven) { if (timeSeven >= 3600) { let hour = Math.floor( timeSeven / 3600); let sec1 = timeSeven % 3600; if (sec1 > 60) { let min = Math.floor(sec1 / 60); let sec2 = sec1 % 60; console.log(`${hour}:${min}:${sec2}`) } else { console.log(`${hour}:0:${sec1}`) } } else if (timeSeven >= 60 && timeSeven < 3600) { let min = Math.floor( timeSeven / 60); let sec3 = timeSeven % 60; console.log(`0:${min}:${sec3}`) } else { console.log(`0:0:${timeSeven}`) } } time(t = timeSix())