issues
search
ContaAzul
/
creditcard.js
A simple credit card validation library in JavaScript
http://contaazul.github.io/creditcard.js/
Other
374
stars
82
forks
source link
feat: refactor expiration date validation
#103
Closed
dedicio
closed
3 years ago
dedicio
commented
3 years ago
What was done
Refactor method
isExpirationDateValid
to more functional pattern;
Add acceptance of short years parameter;
Add new tests
What was done
isExpirationDateValid
to more functional pattern;