Skip to content

Commit 1e97c2e

Browse files
committed
Suggested better names in "camel case"
1 parent 6ac3015 commit 1e97c2e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ console.log(result);
3232

3333
// Ans: the variable result represent total movie lenght, Movie duration_hr_min_sec would be better name.
3434

35+
// In a "camel case" the following options would be better names
36+
// 1. MovieDurationHrMinSec
37+
// 2. TotalMovieSpan
38+
// 3. TotalMoviePeriod
39+
3540
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
3641

3742
// Ans: I have tried with different values and it seems to work for all values, but it needs to validate to avoid entering negative values
3843
// I inserted --3500 and returned 0: -58: -20 which does not mean real time representation.
3944

4045

4146
// Corrected typo reminder -----> remainder
47+
// Suggested better names in "camel case" a convention in Javascript

0 commit comments

Comments
 (0)