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.
don't mutate the input array
This comment is hidden because it contains spoiler information about the solution
Then for JS this is not a problem, and for other languages there are issues open below. Closing.
In JS is an object, why would it be any of the other things you mention?
Says it gives preloaded dictionary but does not say the format the dictionary is in (object? array? array of objects? uppercase? lowercase? camelcase?), or even what the variable to call it is, so it's useless. Almost all solutions (JS) include the warrior needing to make their own version of the dictionary after they've wasted time trying to figure out the author's dictionary format.
Wrong operator in your if, wrong logic too, you would only compare the last letter. Please read this: https://docs.codewars.com/training/troubleshooting/#post-discourse
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
replaceAll requires Node v15, it's not supported in CW at this time, use another thing.
This comment is hidden because it contains spoiler information about the solution