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.
Hey there! It's similar to the example given in the kata description with
['apples', 'oranges', 'bananas']
, except with peoples' names (ie.['Ray', 'James']
) instead of fruit. Their outputs should be formatted the same way =)..and of course we don't know what's the problem!
Yes that is exactly what it does. When the argument is negative it starts counting from the end of the string.