Skip to content

Commit b33d620

Browse files
committed
Add test value for movieLength in 2-time-format.js
1 parent 8dfc043 commit b33d620

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
@@ -1,4 +1,5 @@
1-
const movieLength = 3661; // length of movie in seconds
1+
// const movieLength = 3661; // length of movie in seconds
2+
const movieLength = 100.65;
23

34
const remainingSeconds = movieLength % 60;
45
const totalMinutes = (movieLength - remainingSeconds) / 60;
@@ -13,7 +14,7 @@ console.log(result);
1314

1415
// a) How many variable declarations are there in this program?
1516

16-
// Answer: There is only 6 variable declearation altogether in this program
17+
// Answer: There is only 6 variable declaration altogether in this program
1718

1819
// b) How many function calls are there?
1920

0 commit comments

Comments
 (0)