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.
love!
The best solution. This should be at the top!
Cleanest solution so far
compute & scalability-wise, is this the best way?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Not exactly. The keys to an object can only be strings, so if the value being compared in the switch is a string then it works, but not if it's some other type
Is it accurate to state - Anywhere a switch statement could be used, this could take it's place?
smart!I like this solution
Thanks for the explanations! Now I see what is going on!
What a wise choice of words. I couldn't have explained it easier than that. Nice one!
This comment is hidden because it contains spoiler information about the solution
Amazing solution!
It's an arrow function :)
This comment is hidden because it contains spoiler information about the solution
Loading more items...