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.
So I have solution that splits the list correctly. My front and back variables have the correct lists in my function. But the test keeps failing saying my front is equal to null. Should I be returning something? It seems like the way this is supposed to work is these variables change for the test because they're reference types...but that isn't working for some reason.
I see that a couple other people were asking about throwing an exception in JS. I understand WHEN to throw the exception, but I don't understand WHAT I need to throw to get this to pass. If I throw a string it fails, if I throw a new Error() the whole Kata errors out....not sure what you mean by 'exception'
awesome that worked! thanks for the help.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is so easy. Just write a million case switch statement.
ahhhhh ok. thanks for the help!
This makes sense but in one of the examples -> alphabetWar("zzzzs"); there are 5 'combatants' so is the middle z on the right or left side?