File tree Expand file tree Collapse file tree
Sprint-2/4-mandatory-interpret Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments