Skip to content

Commit 2d7234f

Browse files
committed
correct error
1 parent fa07668 commit 2d7234f

File tree

1 file changed

+0
-3
lines changed
  • Sprint-1/2-mandatory-errors

1 file changed

+0
-3
lines changed

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

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

0 commit comments

Comments
 (0)