Skip to content

Commit c115512

Browse files
committed
Fix invalid variable names starting with numbers in 4.js
1 parent a4ba5c8 commit c115512

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
const 12HourClockTime = "8:53pm";
2-
const 24hourClockTime = "20:53";
1+
const clockTime12Hour = "8:53pm";
2+
const clockTime24Hour = "20:53";
3+
console.log(clockTime12Hour);
4+
console.log(clockTime24Hour);
5+
6+
//variable names can not start with numbers

0 commit comments

Comments
 (0)