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.
mmh, right. I was too much focused on the example.
edit: oh, actually, you're missing the "alternately" at the beginning of the sentence. So it seems actually correct.
Hi,
When you return your result. Maybe the problem is not only rounding or truncating?
No, count again, 'a12' has only 3 characters, not more than 3.
Not a kata issue, the condition for this test is clearly detailed in the description:
More than 3 characters but less than 20
.Print the input: https://docs.codewars.com/training/troubleshooting/#print-input
No, they don't. If they did, the kata wouldn't be here, or there's no way 14+ thousand people would be able to solve it. Carefully check your code again.
This task have a solution, you need to try again. Don't forget that some names might be differ than 'John Smith'
It returns 1 (at least here and in repl.it, no idea why would it be any different in WebStorm tho). You can check it on https://repl.it/languages/javascript