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.
Thankyou for this
I tested your code and realized that if you change just one line of code a little bit, you will pass this kata.
Now in your code you check that if the number of vowels is less than the length of the word to return "Invalid word",
but in this case you need to check that the number of vowels is greater than or equal to the number of consonants.
There is an error in your code in checking the vowel letters.
This comment is hidden because it contains spoiler information about the solution
Nope, it's not in the glovebox, he's getting one to put in there
Not a kata issue, it's a literal quote.
was "Help yourself to a honeycomb Yorkie for the glovebox" supposed to be "Help yourself to a honeycomb Yorkie from the glovebox"?
I feel like the "for" should gramatically be "from". It could cause some frustration for people.
This allows multiple Spaces to be replaced with one
return convertToString.replace(/\s+/g,' ');
No, natan is right, you're mutating the input value in your code. It should be fixed (now the expected value is calculated before your function is called). Try again.
no cause the extra
\n
is in the generated test not my return. Have a look againfixed by chrono79 above
fixed by chrono79 above
I tried to poke you on gitter ._.
Ok, done (for js and python). And yes, you can create a fork and let us mods (or the kata's author) know about what you fixed, it'll be of help. Thanks.
yeah python, same thing.
and yeah deep copy is weird in general, better to change the order
.... maybe I should be doing things myself when I know how I want them to be >_< (as opposed to backseating you) I'll change python and js after I get back from grocery shopping if you haven't already
and -- yeah it's worth it. it's not so much about cheating as it is about confusing error messages (the thread below this one remains affected)
Loading more items...