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.
Bump
Maybe x was 0?
This comment is hidden because it contains spoiler information about the solution
Instructions are incomplete and language versions aren't consistent about extending some protoype/class or creating a function. It should be stated at a per language basis in the kata description.
No, it should not expect an argument. Please read more about prototype functions.
I know that javascript methods may take no arguments. But this specific funciton is / should expecting one, and it should be written. And I didn't see in the instructions that I shold extend the String.prototype, and I can not understand why that was needed. For me, it remain very poorly written assignment, that is all.
Not an issue, don't you know javascript methods that take no arguments? Read more then, this one for instance. In this kata you have to extend the
String.prototype
.This comment is hidden because it contains spoiler information about the solution