Skip to content

Commit 3ae94cf

Browse files
i give the answer please check
1 parent 0504972 commit 3ae94cf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ console.log(result);
2424

2525
// c) Using documentation, explain what the expression movieLength % 60 represents
2626
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators
27-
/*The remainder (%) operator returns the remainder left over when one operand is divided by a second operand. It always takes the sign of the dividend*/
27+
/*The remainder (%) operator returns the remainder left over when one operand is divided by a second operand. movieLength % 60 represent that when movieLength is divided by 60 it return the remainder.
28+
It's mainly represent the remainingSeconds.*/
2829

2930
// d) Interpret line 4, what does the expression assigned to totalMinutes mean?
3031
/* This expression convert movies time second into minutes dividend by 60 second*/

0 commit comments

Comments
 (0)