Skip to content

Commit cd39a5a

Browse files
interpreted the error of the file 4.js
1 parent 1dd1e64 commit cd39a5a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const twelveHourClockTime = "8:53pm";
22
const twentyFourHourClockTime = "20:53";
3+
// The old version of the variables return a SyntaxError pointing that there is Invalid or unexpected token
4+
// For naming the variables we need to use the naming convention which involved not leading the variable name with a number
35

4-
5-
console.log(twelveHourClockTime)
6+
console.log(twelveClockTime);

0 commit comments

Comments
 (0)