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.
Not a kata issue~~
Then don't do it. The object is to develop an algorithm on your own without the use of what is commonly available. If you don't like, there are plenty of others out there that can entertain your fancy. No sense in being a baby and crying over it.
read the directions more carefully. I made the same mistake.
on the good side you have 1 hobbit worth 1, and 1 eagle worth 4, for a total of 5
on the evil side you have 1 troll worth 5.
So both armies are worth 5
The first test to fail will be the last test it will run so it is hard to say. I recomend you use console.log to print the inputs to the function to see for yourself what is being tested
If you read the last line of the description: "NOTE: reverse/reverse! have been disabled for String/Array and reverse() for JS. If you are chaining join after a reverse, you will get that error
Just tested the code and works fine to me: I fear you are creating an infinite loop or there is anyway something wrong with your code.