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.
OP solved it, closing
OP solved it, closing
I agree it needs revision, the capital 'W' in the example output ["CodeWars"] made me think there could be mutiple capital letters in each string of the array which apparently isn't true. In cases of arrays containing multiple strings the only capital letters were the first ones of the strings making this problem easier.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
added for #1, #2 is already clear (case insensitive), closing ~~
Can't be changed.
Different Node versions implement
sort
differently. It wasn't stable in that version (v8.1.3).For me, the description makes the task quite obvious. What exactly is not clear for you? What would be your suggestion for improvements here?