Skip to content

Commit 67fb901

Browse files
Fix variable declaration count in comments for time format script
1 parent 9fe7705 commit 67fb901

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ console.log(timeRemainingHHMMSS);
1212
// For the piece of code above, read the code and then answer the following questions
1313

1414
// a) How many variable declarations are there in this program?
15-
// i) There are 5 variable declerations. Lines 1, 3, 4, 6, 7 and 9
15+
// i) There are 6 variable declarations.
16+
// Lines 1 (movieLength),
17+
// Line 3(remainingSeconds),
18+
// Line 4(totalMinutes),
19+
// Line 6(remainingMinutes,
20+
// Line 7(totalHours)
21+
// Line 9(timeRemainingHHMMSS)
1622

1723
// b) How many function calls are there?
1824
// ii) There is only one function call. Line 10

0 commit comments

Comments
 (0)