Ad
  • Default User Avatar

    The tests cases are fine; the problem is that your code is incorrect. it has to work for any number, not just the ones you see in the sample tests

  • Custom User Avatar

    Yeah! It's JS.
    I think there is porblem with value, 'cause i used another solutions for this kata.
    But all of the give the same error

  • Default User Avatar

    please specify the language you're using when you ask for help. i'm guessing this is JavaScript.
    the logs mean that your code is correct for 13 ('d' in hexadecimal), but not for 2 (10 in binary)

  • Custom User Avatar

    Got a value issues:
    Error :
    Expected: '10', instead got: '100'
    Test Passed: Value == 'd'

    No matter which solution I use.
    Let me know if someone can explain or correct the value in task. Thanks