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/3-mandatory-interpret/2-time-format.js
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,6 @@ console.log(result);
28
28
// e) What do you think the variable result represents? Can you think of a better name for this variable?
29
29
//A--> results present length of movie formatted as Hours:Minutes:Seconds and a better name could be fromatedMovieDuration
30
30
31
-
32
31
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
33
32
/*whole positive value: for the 8784 seconds the formatted duration would be fine 2:26:24 and the code would be working as expected
34
33
under 60 seconds: 59 seconds would assign the hours and minutes both as 0s resulting 0:0:59 instead of the normal formatted way 00:00:59 but still correct
0 commit comments