Skip to content

Commit a06d532

Browse files
committed
correcting the answer for the questions
1 parent 8d1f060 commit a06d532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sprint-2/4-mandatory-interpret/time-format.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ console.log(formatTimeDisplay(61));
2828
// =============> write your answer here:"00"
2929

3030
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
31-
// =============> write your answer here: pad(00):pad(01):pad(01) because it will take the value of totalHours,remainingMinutes,remainingSeconds.
31+
// =============> write your answer here: 1 because remainingSeconds of the return value is the last time pad will be called for console.
3232

3333
// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
34-
// =============> write your answer here: the return value will be 1 because 61 seconds has 1 second left after converting to minutes.
34+
// =============> write your answer here: the return value will be "01" because 61 seconds has 1 second left after converting to minutes.

0 commit comments

Comments
 (0)