Skip to content

Commit baf6433

Browse files
committed
Identified all variable declarations in file
1 parent 6d81f32 commit baf6433

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ 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 6 variable declarations.
1516

1617
// b) How many function calls are there?
1718

1819
// c) Using documentation, explain what the expression movieLength % 60 represents
1920
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators
20-
2121
// d) Interpret line 4, what does the expression assigned to totalMinutes mean?
2222

2323
// e) What do you think the variable result represents? Can you think of a better name for this variable?

0 commit comments

Comments
 (0)