There was an error while loading. Please reload this page.
1 parent a5df0de commit 31c3d98Copy full SHA for 31c3d98
1 file changed
Sprint-2/2-mandatory-errors/3.js
@@ -5,4 +5,4 @@ console.log(last4Digits)
5
// The variable cardNumber is not a string and the slice() function works with strings or array
6
7
// Consider: Why does it give this error?
8
-// It gave that error "TypeError: cardNumber.slice is not a function" brcause the slice() function tool are not applicable to numbers.
+// It gave that error "TypeError: cardNumber.slice is not a function" because the slice() function tool are not applicable to numbers.
0 commit comments