Skip to content

Commit 300176d

Browse files
Answer question e and rename result variable
1 parent c37af97 commit 300176d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ const totalMinutes = (movieLength - remainingSeconds) / 60;
66
const remainingMinutes = totalMinutes % 60;
77
const totalHours = (totalMinutes - remainingMinutes) / 60;
88

9-
const result = `${totalHours}:${remainingMinutes}:${remainingSeconds}`;
10-
console.log(result);
9+
const formattedMovieLength = `${totalHours}:${remainingMinutes}:${remainingSeconds}`;
10+
console.log(formattedMovieLength);
1111

1212
// For the piece of code above, read the code and then answer the following questions
1313

0 commit comments

Comments
 (0)