Skip to content

Commit 1942553

Browse files
committed
fixed time format
1 parent a9e0b1c commit 1942553

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,20 @@ function formatTimeDisplay(seconds) {
1818

1919
// a) When formatTimeDisplay is called how many times will pad be called?
2020
// =============> write your answer here
21-
21+
// Pad is called once.
2222
// Call formatTimeDisplay with an input of 61, now answer the following:
2323

2424
// b) What is the value assigned to num when pad is called for the first time?
2525
// =============> write your answer here
26-
26+
// value of num=undefined
2727
// c) What is the return value of pad is called for the first time?
2828
// =============> write your answer here
29+
// it returns a function object
2930

3031
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
3132
// =============> write your answer here
33+
//value is 0
34+
//the frame side when pad is called the last time num is assigned a value of 0
3235

3336
// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
3437
// =============> write your answer here

0 commit comments

Comments
 (0)