Skip to content

Commit b381b0d

Browse files
committed
Refactor variable name suggestion for clarity in time formatting
1 parent 623bd7d commit b381b0d

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
@@ -43,7 +43,7 @@ console.log(result);
4343

4444
// e) What do you think the variable result represents? Can you think of a better name for this variable?
4545
// The variable result represents the formatted time string in the format "hours:minutes:seconds".
46-
// A better name for this variable could be "formattedTime" or "movieDuration"
46+
// A better name for this variable could be "formattedTime"
4747

4848
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
4949
//The code will work for all positive integer values of movieLength, as it correctly calculates the hours, minutes,

0 commit comments

Comments
 (0)