Skip to content

Commit 7d4385b

Browse files
Complete function tracing answers
1 parent 706a763 commit 7d4385b

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,18 @@ console.log(formatTimeDisplay(61));
2222
// Questions
2323

2424
// a) When formatTimeDisplay is called how many times will pad be called?
25-
// =============> write your answer here
25+
// 3
2626

2727
// Call formatTimeDisplay with an input of 61, now answer the following:
2828

2929
// b) What is the value assigned to num when pad is called for the first time?
30-
// =============> write your answer here
31-
// 3
30+
// 0
3231

3332
// c) What is the return value of pad when it is called for the first time?
34-
// =============> write your answer here
33+
// 00
3534

3635
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer
37-
// =============> write your answer here
36+
// 1
3837

3938
// e) What is the return value of pad when it is called for the last time in this program? Explain your answer
40-
// =============> write your answer here
39+
// 01

0 commit comments

Comments
 (0)