Skip to content

Commit b3b3e06

Browse files
committed
Removed numbers from start of var names in 4.js
1 parent 4910cfa commit b3b3e06

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
const 12HourClockTime = "8:53pm";
2-
const 24hourClockTime = "20:53";
1+
const twelveHourClockTime = "8:53pm";
2+
const twentyfourHourClockTime = "20:53";
3+
4+
// variable names cannot start with numbers in javascript. I changed them to start with letters.

0 commit comments

Comments
 (0)