Skip to content

Commit 1546c62

Browse files
committed
specifying strings
1 parent 68330f6 commit 1546c62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sprint-2/4-mandatory-interpret/time-format.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ console.log(formatTimeDisplay(61))
2727
// =============> 0, there are no hours in 61 seconds. (first is totalHours)
2828

2929
// c) What is the return value of pad is called for the first time?
30-
// =============> 00, as there are 0 hours it pads it to 00 at least.
30+
// =============> "00", as there are 0 hours it pads it to 00 at least.
3131

3232
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
3333
// =============> 1, as it is 1 over 60 and the 60 gets turned into remainingMinutes
3434

3535
// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
36-
// =============> 01, the last call is "${pad(remainingSeconds)}" which is the previous 1 padded into 01.
36+
// =============> "01", the last call is "${pad(remainingSeconds)}" which is the previous 1 padded into 01.

0 commit comments

Comments
 (0)