You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-2/4-mandatory-interpret/time-format.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,5 +37,5 @@ function formatTimeDisplay(seconds) {
37
37
38
38
// e) What is the return value of pad when it is called for the last time in this program? Explain your answer
39
39
// =============> Answer "01".
40
-
// Explaination: The return value of pad when it is called for the last time in this program is '01'. This is because the value of num is 1 (the remaining seconds after calculating 61 % 60).
40
+
// Explanation: The return value of pad when it is called for the last time in this program is '01'. This is because the value of num is 1 (the remaining seconds after calculating 61 % 60).
41
41
// Since the length of the string representation of 1 is less than 2, the pad function adds a "0" to the front, resulting in "01".
0 commit comments