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.
Nice explanation for identity.
Are their some cases in which the possible honors received are downgraded?
Nope honors are given based on the kata lvl u attempted :)
Check out this page for more info => (https://github.com/Codewars/codewars.com/wiki/Honor-&-Ranks)
This comment is hidden because it contains spoiler information about the solution
Yes, submitting will be easier than writing the sample tests yourself.
debugger as well! I had "debugger;" in my code because I tend to copy my code into the browser console and debug it there and it was keeping me from passing the final test. I removed it and then I passed the kata.
The length is odd by the definition:
YEAAAAHHHHHHH!
Sorry I didn't notice this question earlier. I explained it a little above in my response to @curious_db97.
I suggest you throw some
console.log
statements in the relative branches of your code, to make sure your cached data is retrieved correctly when necessary. From what I know the reflection capabilities of JavaScript are somewhat restrained so I could not test the internals of a closure either (in a non-parsing simple way that is). I was content to just test the correctness of the results of its invocation in combination with helpful output from the console logger.A good start is knowing that in Javascript, NOTHING is permanent! Everything can be rewritten!