There was an error while loading. Please reload this page.
1 parent a04165e commit f1fb152Copy full SHA for f1fb152
1 file changed
Sprint-2/3-mandatory-interpret/2-time-format.js
@@ -6,8 +6,8 @@ const totalMinutes = (movieLength - remainingSeconds) / 60;
6
const remainingMinutes = totalMinutes % 60;
7
const totalHours = (totalMinutes - remainingMinutes) / 60;
8
9
-const result = `${totalHours}:${remainingMinutes}:${remainingSeconds}`;
10
-console.log(result);
+const formattedMovieDuration = `${totalHours}:${remainingMinutes}:${remainingSeconds}`;
+console.log(formattedMovieDuration);
11
12
// For the piece of code above, read the code and then answer the following questions
13
0 commit comments