Skip to content

Commit eb00ebe

Browse files
committed
type error
1 parent f48e433 commit eb00ebe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sprint-1/3-mandatory-interpret/2-time-format.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ console.log(result);
2424

2525
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
2626

27-
// Answer a: there are 6 variable declarations which are const movieLength, const remaininingSeconds, const totalMinutes, const remainingMinutes,
27+
// Answer a: there are 6 variable declarations which are const movieLength, const remainingSeconds, const totalMinutes, const remainingMinutes,
2828
// cost totalHours and const result.
2929

3030
// Answer b: only one function call which is console.log(result).
@@ -37,7 +37,7 @@ console.log(result);
3737
// Answer e: this builds a string representing the time in HH:MM:SS format, based on the movie length in seconds. The better name can be
3838
// formattedTime or timeString.
3939

40-
// Answer e: It will work for most large intergers or large hours but it does not work well for time below 60 seconds like 37 seconds is
40+
// Answer e: It will work for most large integers or large hours but it does not work well for time below 60 seconds like 37 seconds is
4141
// 0:0:37 which can be considered unformatted. What is more, it does not handle negative numbers and does not pad numbers with zero.
4242

4343

0 commit comments

Comments
 (0)