File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Sprint-2/4-mandatory-interpret Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments