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.
Thanks! Good! I modified a bit the description:-)
In the description it is said:
That means: you return 0. ": the car didn't move" is an explanation of the
0
return.The return of the function is always an integer.
[In many languages (not in JS) you can't have different types of return and this kata has been translated in a lot of languages.]
Maybe I need to re-write this part of the description. Sorry for the misunderstanding.