There was an error while loading. Please reload this page.
1 parent c37af97 commit 300176dCopy full SHA for 300176d
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 formattedMovieLength = `${totalHours}:${remainingMinutes}:${remainingSeconds}`;
+console.log(formattedMovieLength);
11
12
// For the piece of code above, read the code and then answer the following questions
13
0 commit comments