Skip to content

Commit 74dd263

Browse files
authored
Clarify comments on variable declarations and function calls
Updated comments to clarify variable declarations and function calls.
1 parent cd6f8ff commit 74dd263

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ console.log(result);
1111

1212
// For the piece of code above, read the code and then answer the following questions
1313

14-
// a) How many variable declarations are there in this program?6
14+
// a) How many variable declarations are there in this program? six variable,1-movieLenghth , 2- remainingSeconds
15+
//3-totalMinutes , 4- totalHours , 5- result .
1516

16-
// b) How many function calls are there?1
17+
// b) How many function calls are there? one function ,line 10 : console.log()
1718

1819
// c) Using documentation, explain what the expression movieLength % 60 represents?
1920
//8784 % 60=24

0 commit comments

Comments
 (0)