Skip to content

Commit 5fdc520

Browse files
committed
Add the reason to answer d)
1 parent 67f0195 commit 5fdc520

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Sprint-3/4-mandatory-interpret/time-format.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function formatTimeDisplay(seconds) {
3232
// =============> "00"
3333

3434
// 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
35+
// =============> 1, because that's the actual value assigned to the num parameter (remainingSeconds is 1)
3636

3737
// e) What is the return value of pad when it is called for the last time in this program? Explain your answer
3838
// =============> "01", the remainingSeconds is 1, which gets padded to "01" in the return value

0 commit comments

Comments
 (0)