File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sprint-2/4-mandatory-interpret Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ console.log(formatTimeDisplay(61))
2727// =============> 0, there are no hours in 61 seconds. (first is totalHours)
2828
2929// c) What is the return value of pad is called for the first time?
30- // =============> 00 , as there are 0 hours it pads it to 00 at least.
30+ // =============> "00" , as there are 0 hours it pads it to 00 at least.
3131
3232// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
3333// =============> 1, as it is 1 over 60 and the 60 gets turned into remainingMinutes
3434
3535// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
36- // =============> 01 , the last call is "${pad(remainingSeconds)}" which is the previous 1 padded into 01.
36+ // =============> "01" , the last call is "${pad(remainingSeconds)}" which is the previous 1 padded into 01.
You can’t perform that action at this time.
0 commit comments