Skip to content

Commit a92c307

Browse files
test the two different negative and decimal
1 parent cb44a34 commit a92c307

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎Sprint-2/2-mandatory-errors/2.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ console.log(`I was born in ${cityOfBirth}`);
55
const cityOfBirth = "Bolton";
66

77

8-
/*we need to put declare variables(const cityOfBirth = "Bolton";) in first line after using expression console.log.
8+
/*we need to put declare variables(const cityOfBirth = "Bolton";) in first line after using expression console.log.*/

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,14 @@ console.log(result);
3333
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
3434
/* In this section we can only use the positive natural numbers but if we put numbers that divide by 60 without a remainder get the exact time like 10, 20 50 */
3535
/*"Percent (%) is a way to describe the full amount of anything by imagining it split into 100 equal sections.*/
36-
/*we take out the odd seconds before converting to minutes so that when we divide by 60 we can get the exact whole number instead of messy decimal so that*/
36+
/*we take out the odd seconds before converting to minutes so that when we divide by 60 we can get the exact whole number instead of messy decimal so that*/
37+
/* i try both decimal both terminal is not showing the error type looks prefect */
38+
/*[Running] node "c:\Users\Asus\Desktop\code your future\Module-Onboarding\Module-JavaScript-Fundamentals\Sprint-2\Sprint-2\3-mandatory-interpret\2-time-format.js"
39+
2:26:24
40+
41+
[Done] exited with code=0 in 1.932 seconds
42+
43+
[Running] node "c:\Users\Asus\Desktop\code your future\Module-Onboarding\Module-JavaScript-Fundamentals\Sprint-2\Sprint-2\3-mandatory-interpret\2-time-format.js"
44+
2:26:24
45+
46+
[Done] exited with code=0 in 0.165 seconds*/

0 commit comments

Comments
 (0)