Ad
  • Default User Avatar

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

  • Custom User Avatar

    Uh, reading code without formatting is not easy either! See this for info how to post formatted code.

    About your issue, please read the first link I gave you. Especially the part how your solution has to conform to the initial stub, so tests can understand it. You changed the name (and the form) of the function, and now tests can't see it. In JavaScript, tests expect the solution function to be a so-called prototype extension, and it has to look like this:

    String.prototype.toJadenCase = function () {
      //...
    };
    

    You only have to fill in the inside. IF you do not know what prototype extensions are in JS and how to use them, you can do some googling, or leave the kata for now and come back to it later, after getting some experience with JS.

    Good luck!

  • Default User Avatar

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

  • Custom User Avatar

    Hello, and welcome to Codewars!

    Your code not working is not a kata issue. But to be able to help you and know what you did wrong, we need to know your code. Also these articles could be helpful:

    https://docs.codewars.com/training/training-example
    https://docs.codewars.com/training/troubleshooting

  • Default User Avatar

    Hi there, new to codewars, and pretty new to code writing. As far as I can tell I have completed this task, but I must be missing something as I keep getting an error, although my output appears to match the answer. Any advice appreciated.