Skip to content

Commit 5124da0

Browse files
I suggested formattedTime or FormattedMovieLength to replace the result variable name.
1 parent 30d58bc commit 5124da0

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
@@ -41,7 +41,7 @@ by subtracting the remaining seconds and dividing by 60.
4141

4242

4343
// e) What do you think the variable result represents? Can you think of a better name for this variable?
44-
variable result represents the formatted remaining movielength time in hours, minutes, and seconds (HH:MM:SS).
44+
variable result represents the formatted remaining movielength time in hours, minutes, and seconds (HH:MM:SS). we can change the varible name to formattedTime or formattedMovieLength to make it more descriptive.
4545

4646
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
4747
yes this code will work for all values of movieLength asa long as it is a non- negative integers.

0 commit comments

Comments
 (0)