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.
This function takes a string as input, splits it into individual characters, and then uses map to transform each character into a string where it's capitalized and followed by its lowercase form repeated according to its index position. Finally, these transformed strings are joined with hyphens - to form the resulting string.