Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Conversation

@andrea-calabretta
Copy link

In the previous JavaScript version, IBAN with more same letters (for example double 'T' like in IT07T0200817105000102728777) were not validated because in the "replaceLetterWithDigits" function, the replacement stopped at the first occurrence of the letter, leaving the other letters unreplaced.

In the version I'm proposing, I fixed it and I added the TypeScript version too.

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant