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.
Ikr !!
It doesn't care at all.
Hi @imago.dei,
Please post your solution below using Markdown code blocks so I may review it and perhaps provide a few hints (I assume you're attempting this Kata in JavaScript?).
Cheers :)
That's weird, I've tried my js solution in typescript and it passed with no problem. Why don't you post your code using proper markdown and marking your post as having spoiler content?
If your code is failing only some random tests I would tell you check the note:
Please check the description now. This kata is about passing by rerence and value which may differ in different languages. But in most cases the lists are passed by reference.
What language does have broken tests?
Check if you're returning a string or a number
To quote acraileanu from some other comments here: "Most likely this is a type issue (you return a string and the assert is expecting an integer).". Hope that helps!