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.
Closing as of 9 years later, such error is very unlikely to happen. Also, your code will strip off the 2 last characters instead of just 1.
[comment removed]
I have this issue as well! Passes fine with my tests but when I submit it's an "Unknown Error"
Though I am no authority, I believe your description and your solution are good. =)
I also ran into "Unknown Error" messages when trying to run my code in the code editor without specifying any test cases. Not sure if you might have had the same problem?
Can someone please expalain what is going on in this kata? I have no idea what Javascript idioms to use here. =(
Cool--well done, and I'm glad you enjoyed it!
One-liners are just so beautiful =)
This comment is hidden because it contains spoiler information about the solution
My code works in the browser console, but I get an "Unknown Error" when running it in the code editor.
Does anyone know how to avoid these common "Unknown Errors"?
I am not able to submit this kata. I copied several previous solutions, but it always gives me an "Unknown error."
EDIT: This may be because I am on a school computer with a very strict wifi. I will try at home and see what happens.