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.
I thought this might have been the case. I am unfortunately unaware of the way in which kata properties get set, I had assumed that all kata automatically start out as
Draft
, from your description ofDraft
as a 'stage'.Thank you for this clarification!
The kata has been completed ** before ** it was marked as
Draft
How come the kata has been completed 4 times already? My 'completion' does not contribute to this count.
You can't submit a solution when a kata is in
Draft
stage as this one is.I think it's a problem with the platform, not the kata.
The submit final button just doesn't work. It doesn't appear, and when enabled in DOM, it is as equally useless. This is possibly a bug with Codewars, but then again I haven't had this problem before.
Yeah, and in this case the break isnt even needed since the value is being returned.
This comment is hidden because it contains spoiler information about the solution
What's the point of this kata? It took more time to read the kata than to solve it, and I didn't use
switch
at all. If you want to enforce warriors to useswitch
, you need to do a lot of extra work.? ! ? ? ! ? ? ! ?
I guess OP wants to use
break;
. Luckily, theReferenceError
doesn't occur sincereturn
will exit the function.What is going on here? Why are you adding
block;
?