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 5180272 commit 54b451cCopy full SHA for 54b451c
1 file changed
Sprint-2/4-mandatory-interpret/time-format.js
@@ -34,6 +34,9 @@ console.log(formatTimeDisplay(61));
34
35
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
36
// =============> write your answer here
37
+// The value is 1, when formatTimeDisplay(61) runs: 61 seconds = 1 minute and 1 second
38
+// remainingSeconds = 61 % 60 = 1
39
+// The last call to pad is pad(remainingSeconds), so num receives 1
40
41
// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
42
0 commit comments