Skip to content

Commit df3c3a8

Browse files
committed
completed task in Sprint-1/2-mandatory-errors/4.js
1 parent d60be66 commit df3c3a8

File tree

2 files changed

+3391
-2
lines changed

2 files changed

+3391
-2
lines changed

Sprint-1/2-mandatory-errors/4.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
const 12HourClockTime = "20:53";
2-
const 24hourClockTime = "08:53";
1+
// const 12HourClockTime = "20:53";
2+
// const 24hourClockTime = "08:53";
3+
//throws SyntaxError because variable name cannot start with a number
4+
const twelveHourClockTime = '08:53'
5+
const twentyFourHourClockTime = '20:53'
6+
7+
console.log(twelveHourClockTime);
8+
console.log(twentyFourHourClockTime);
9+

0 commit comments

Comments
 (0)