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.
I don't know how to use console.log. Could you explain or show it?
If you're using JavaScript, console.log(content) will output to the codewars console. Most test cases should have some standard output, too.
How can I know wether it works? I tried it. Didn't work. Or may be it works but just to see the result I need to use alert instead of return, or document.write, or something else?