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.
goood job
damn this gives me depression and anxiety of being totally stupid :(((( I couldn't solve it without chatGPT
Please, read the docs: https://docs.codewars.com/training/training-example
.... but what is the suggestion?
This comment is hidden because it contains spoiler information about the solution
yooo
Approved
yooo
Lua translation!
Approved.
My solution was almost same, without the destructuring. That's nice!
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!
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
This comment is hidden because it contains spoiler information about the solution
Loading more items...