There was an error while loading. Please reload this page.
1 parent 67f0195 commit 5fdc520Copy full SHA for 5fdc520
1 file changed
Sprint-3/4-mandatory-interpret/time-format.js
@@ -32,7 +32,7 @@ function formatTimeDisplay(seconds) {
32
// =============> "00"
33
34
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
35
-// =============> 1, because that's the actual value assigned to the num parameter
+// =============> 1, because that's the actual value assigned to the num parameter (remainingSeconds is 1)
36
37
// e) What is the return value of pad when it is called for the last time in this program? Explain your answer
38
// =============> "01", the remainingSeconds is 1, which gets padded to "01" in the return value
0 commit comments