Ad
  • Custom User Avatar

    Thanks for the translations. They are approved. What do you have in mind for the description?

  • Custom User Avatar

    I have removed the misleading statement from the problem statement. The question was initially meant to contain at least two points. More test cases were added later.

  • Custom User Avatar

    I have added this as a test case

  • Custom User Avatar

    Arghh.. Thanks. I have updated the test cases. I missed it because even as arguments solution returns true. Rectified.

  • Custom User Avatar

    Thanks for telling me. I have updated the test case.

  • Custom User Avatar

    That was it! Thanks so much!

  • Custom User Avatar

    Yeah. I don't understand this. Either we are doing something really stupid or the author's tests are failing.

    Either way, can someone update this thread with some hint or explanation?

  • Custom User Avatar

    Thanks for the feedback. I have rectified the typo. The method is now always called compareVersions :)
    I have also added more descriptive titles to the test cases.

    I don't know how to add randomize test cases. I will read codewars docs and add random test cases when i have a little more time.

  • Custom User Avatar

    I am getting an Error for Object.keys while submitting the solution.

    "TypeError: Object.keys called on non-object"

    Could this be happening while executing the test cases? Can't see why my function would show this failure. Help!!!