Skip to content

Commit b93c32a

Browse files
committed
Correct time format interpretation count
1 parent 820cbc8 commit b93c32a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ console.log(result);
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-
// There are 7 variable declarations: movieLength, remainingSeconds, totalMinutes, remainingMinutes, totalHours, result, and maybe the console.log has none.
16-
// (If counting only const declarations, there are 6: movieLength, remainingSeconds, totalMinutes, remainingMinutes, totalHours, result.)
15+
// There are 6 variable declarations: movieLength, remainingSeconds, totalMinutes, remainingMinutes, totalHours, and result.
1716

1817
// b) How many function calls are there?
1918
// There is 1 function call: console.log(result)

0 commit comments

Comments
 (0)