Ad
  • Default User Avatar

    You just need to check the type of your value. (With typeof variableName)
    Maybe you send 5 (but is a string) and the exercice need a 5 (int).

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    i am using javascript.

  • Custom User Avatar

    Which language are you trying?

  • Default User Avatar

    I don't understand why i don't pass this kata. All fo the cases got what they were expected but they all still say failed with 0 correct. I dont' know why, can someone help me with this. I can copy and past my code if needed but wasn't sure if i should. Please help.

  • Custom User Avatar

    Sorry, don't know how this works, yet, with the issue feedback. Guess I assumed my solution would be attached. Good tip with the string, I'll check that out. Thx!

  • Custom User Avatar

    Not sure how to help you without more information. Is your function returning a string for some reason?

    Which language did you solve it in? I only did Java the other translations are from other users.

  • Custom User Avatar

    Can't proceed with my solution. All tests fail even though all criterias are matching with what the tests expect, like:
    Expected: 5, instead got: 5 (?)
    Not sure what's wrong there.