Skip to content

Commit f1fb152

Browse files
committed
Rename movie duration variable
1 parent a04165e commit f1fb152

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 formattedMovieDuration = `${totalHours}:${remainingMinutes}:${remainingSeconds}`;
10+
console.log(formattedMovieDuration);
1111

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

0 commit comments

Comments
 (0)