We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ff965 commit 9d651fbCopy full SHA for 9d651fb
Sprint-2/4-mandatory-interpret/time-format.js
@@ -28,6 +28,8 @@ function formatTimeDisplay(seconds) {
28
29
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
30
// =============> num=1
31
+// Explanation: the third and final call to pad is with remainingSeconds, which equals 1 when the input is 61 seconds.
32
33
// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
34
// =============> "01"
35
+// Explanation: the number 1 is converted to a string and padded to 2 digits, resulting in "01".
0 commit comments