Ad
  • Default User Avatar

    Thanks! Good! I modified a bit the description:-)

  • Default User Avatar

    In the description it is said:

    return 0: the car didn't move.

    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.