There was an error while loading. Please reload this page.
1 parent 118d7c2 commit 3daf70aCopy full SHA for 3daf70a
1 file changed
Sprint-2/2-mandatory-errors/3.js
@@ -1,6 +1,6 @@
1
const cardNumber = "4533787178994213";
2
const last4Digits = cardNumber.slice(-4);
3
4
-// the code is not working because the number initialized should be in "" .
+// the code is not working because the number initialized should be in "" .
5
// so it can know it/or treat it as a string.
6
-console.log(last4Digits);
+console.log(last4Digits);
0 commit comments