Skip to content

Commit 357720b

Browse files
updated the names of the variables so that they dont't start with numbers
1 parent 6631cd9 commit 357720b

File tree

1 file changed

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

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
const 12HourClockTime = "20:53";
2-
const 24hourClockTime = "08:53";
1+
// const 12HourClockTime = "20:53";
2+
// const 24hourClockTime = "08:53";
3+
4+
//the name of a variable can not start with a number
5+
6+
const twelveHourClockTime = "20:53";
7+
const twenty4hourClockTime = "08:53";

0 commit comments

Comments
 (0)