Skip to content

Commit 92b9bcc

Browse files
committed
description of result variable and rename suggestion
1 parent 7cf3da9 commit 92b9bcc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ console.log(result);
2424
// d) Interpret line 4, what does the expression assigned to totalMinutes mean?
2525
// The expression here is taking the value stored in remainingSeconds variable and subtracting it from the value stored in movieLength variable, then whatever this value is is divided by 60 and this final number is what gets stored in the variable totalMinutes.
2626
// e) What do you think the variable result represents? Can you think of a better name for this variable?
27-
27+
// The variable result will print a template string showing the movie length as time in hours, time in minutes and time in seconds using a template string. I think movieDuration is a bit more descriptive than result?
2828
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer

0 commit comments

Comments
 (0)