Skip to content

Commit b9828e4

Browse files
Sprint 2 Tasks 3 & 4 complete
1 parent c921f4a commit b9828e4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const cardNumber = 4533787178994213;
1+
const cardNumber = "4533787178994213";
22
const last4Digits = cardNumber.slice(-4);
3-
3+
console.log(last4Digits);
44
// The last4Digits variable should store the last 4 digits of cardNumber
55
// However, the code isn't working
66
// Before running the code, make and explain a prediction about why the code won't work

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
const 12HourClockTime = "8:53pm";
2-
const 24hourClockTime = "20:53";
1+
const CivilTime = "8:53pm";
2+
const ContinentalTime = "20:53";

0 commit comments

Comments
 (0)