Skip to content

Commit c4bb72c

Browse files
correct my explanation of line 22
1 parent f3c67ac commit c4bb72c

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
@@ -19,7 +19,7 @@ console.log(result);
1919

2020
// c) Usings documentation, explain what the expression movieLength % 60 represents
2121
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators
22-
//A--> % is a modulo operator that return the remainder of a multiplied number
22+
//A--> % is a modulo operator that return the remainder which is the leftover of a division of two numbers
2323

2424
// d) Interpret line 4, what does the expression assigned to totalMinutes mean?
2525
/* movieLength subtract the left over seconds from the total seconds(movieLength) to get a number that is divisible by 60

0 commit comments

Comments
 (0)