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.
looks like u solved it
This comment is hidden because it contains spoiler information about the solution
Very true! Thanks for the note.
You don't need to convert your switch cases to explicit boolean values. You already have them.
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 comment is hidden because it contains spoiler information about the solution
smart!
This comment is hidden because it contains spoiler information about the solution
You figured it out John, congratulations ;) It seems Codewars recently made some changes to their JavaScript engine that broke this specific test. I have adapted the test now; if you try again it should work.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution