Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
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:
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!
This comment is hidden because it contains spoiler information about the solution
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
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.