rafaelfalleiros / credit-card-checker-javascript-codecademy Goto Github PK
View Code? Open in Web Editor NEWThis is a JavaScript code created to check credit card arrays. It checks to see if the numbers are valid, returning them. If they are not valid, I implemented a convertToValid function to transform it to a valid credit card number. Companies (e.g., Visa, Mastercard) were also checked.