You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-2/2-mandatory-errors/3.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,4 @@ console.log(last4Digits);
8
8
// Consider: Why does it give this error? Is this what I predicted? If not, what's different?
9
9
// Then try updating the expression last4Digits is assigned to, in order to get the correct value
10
10
11
-
// The .slice() method works on strings, but numbers don't have a .slice() method and it will cause this error : cardNumber.slice is not a function
11
+
// The .slice() method works on strings, but numbers don't have a .slice() method and it will cause this error : cardNumber.slice is not a function and I think it's kind of type error.
0 commit comments