Skip to content

Commit 31c3d98

Browse files
committed
correct spelling
1 parent a5df0de commit 31c3d98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Sprint-2/2-mandatory-errors

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ console.log(last4Digits)
55
// The variable cardNumber is not a string and the slice() function works with strings or array
66

77
// 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.
8+
// It gave that error "TypeError: cardNumber.slice is not a function" because the slice() function tool are not applicable to numbers.

0 commit comments

Comments
 (0)