Skip to content

Commit df2d214

Browse files
committed
fixed the variable naming in 4.js
1 parent 78253f1 commit df2d214

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • Sprint-1/2-mandatory-errors

Sprint-1/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 _12HourClockTime = "8:53pm";
2+
const $24hourClockTime = "20:53";
3+
4+
//when starting a variable name with a number we have to precede with either of _ or $

0 commit comments

Comments
 (0)