Skip to content

Commit e876aa2

Browse files
committed
Explained length vs duration
1 parent 93e49fb commit e876aa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

3232
// e) What do you think the variable result represents? Can you think of a better name for this variable?
3333
// The variable result represent the duration of thr movie in hours,minutes and seconds.
34-
// A better name fot this variable is movieDuration
34+
// A better name fot this variable is movieDuration. Duration it refers allays to time but length we can use it as general sizing.e.g. we use length for strings, arrays ect.
3535

3636

3737
// 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)