Skip to content

Commit 60af85c

Browse files
committed
segguesting a descriptive name for the variable
1 parent 9d78d99 commit 60af85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ console.log(result);
2626

2727
// e) What do you think the variable result represents? Can you think of a better name for this variable?
2828
// it represents the length of the movie in hours, minutes and seconds format
29-
// a better name would be: movieTimeVolume
29+
// a better name would be: formattedTime
3030

3131
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
3232
// no it will not work for negative input values as it gives negative results

0 commit comments

Comments
 (0)