Ad
  • Default User Avatar

    No worries! good luck / have fun

  • Custom User Avatar

    I misunderstood, sorry and thank you! I will change my mistakes for the future

  • Default User Avatar

    Hi, you don't need a spoiler tag if the comment doesn't give any information away about how to solve the kata. That way, more people have a chance of seeing your comment and offering a reply.

    The error message is informing you that your code returned 21 whereas it should have returned 6 for that particular test. Given that it's JavaScript that your're using (in the future please mention the language) I would surmise that you are concatenating 2 to 1 by using the plus sign, which is to say they are characters, not integers. Otherwise that would === 3.

  • Custom User Avatar

    Hi! I do not understand something
    Test gave me next message:
    'expected 21 to equal 6'
    If I understood this task right, 2+1 = 3
    Could someone help me, please?