Skip to content

Commit 3a1abf9

Browse files
authored
changing 4.js
1 parent 51950ad commit 3a1abf9

File tree

1 file changed

+7
-5
lines changed
  • Sprint-1/2-mandatory-errors

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
const 12HourClockTime = "20:53";
2-
const 24hourClockTime = "08:53";
3-
// the 12 and 24 are changing position
4-
const 24HourClockTime = "20:53";
5-
const 12hourClockTime = "08:53";
1+
//const 12HourClockTime = "20:53";
2+
//const 24hourClockTime = "08:53";
3+
// in Javascript variable name can't start with a number.
4+
const hourClockTime12 = "20:53";
5+
const hourClockTime24 = "08:53";
6+
console.log(hourClockTime12)
7+
console.log(hourClockTime24)

0 commit comments

Comments
 (0)