File tree Expand file tree Collapse file tree
Sprint-2/2-mandatory-errors Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ console.log (last4Digits);
66// However, the code isn't working
77// Before running the code, make and explain a prediction about why the code won't work
88// Then run the code and see what error it gives.
9- // Consider: Why does it give this error? Is this what I predicted? If not, what's different?
9+ // Consider: Why does it give this error? Is this what I predicted? If not, what's different?
1010// Then try updating the expression last4Digits is assigned to, in order to get the correct value
1111//Card number is a number not a string so it will throw typeerror.
1212// i did not think slice method can not run in number method so that i change it in string
1313// when i put capital letter ReferenceError: string is not defined so that nothing last4Digits not showed
14- //in the terminal String is the function but string is the normal text.
14+ //in the terminal String is the function but string is the normal text.
You can’t perform that action at this time.
0 commit comments