Skip to content

Commit 0d05247

Browse files
committed
4-madatory-interpret 2-time-format.js completed formatted
1 parent 77f2ef2 commit 0d05247

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ console.log(formatTimeDisplay(61));
2020

2121
// a) When formatTimeDisplay is called how many times will pad be called?
2222
// =============> write your answer here
23-
// It will be called 3 times. 1 for hours, 1 for minutes, 1 for seconds.
24-
// return `${pad(totalHours)}:${pad(remainingMinutes)}:${pad(remainingSeconds)}`;
23+
// It will be called 3 times. 1 for hours, 1 for minutes, 1 for seconds.
24+
// return `${pad(totalHours)}:${pad(remainingMinutes)}:${pad(remainingSeconds)}`;
2525

26-
// Call formatTimeDisplay with an input of 61, now answer the following:
27-
// [Running] node "/home/justice/Documents/CYF/Module-Structuring-and-Testing-Data/Sprint-2/4-mandatory-interpret/time-format.js"
28-
// 00:01:01
26+
// Call formatTimeDisplay with an input of 61, now answer the following:
27+
// [Running] node "/home/justice/Documents/CYF/Module-Structuring-and-Testing-Data/Sprint-2/4-mandatory-interpret/time-format.js"
28+
// 00:01:01
2929

3030
// b) What is the value assigned to num when pad is called for the first time?
3131
// =============> write your answer here

0 commit comments

Comments
 (0)