Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You have two tests that have the expected result as: "Values should not be equal: 'VISA'", but the kata expects VISA. You should change those tests to "Values should not be equal: 'Visa'" or delete them.
Did this kata in javascript.
Phone numbers may or may not have a leading zero, contain formatting for country or area codes and additional information such as extension numbers etc.
Whereas a credit card number can be a string or when stripped of whitespace an integer.
This is also one little hurdle to throw into the kata to make it a touch more difficult/require some thought.
Similar to phone number, credit card number is a string.
This comment is hidden because it contains spoiler information about the solution