Ad
  • Custom User Avatar

    No worries! good luck / have fun

  • Custom 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.