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 Kata! Took me two hours to solve this :)
This kata took a toll on me. Nice Kata!
Nice Kata!
Nice Kata!
The expected output is in string.
Finally, after spending half a day, I finally did it!!! Nice Kata!
Log
'a'
... last argument - Expected: 'b', instead got: 'a'
what's wrong? The input log is 'a', and the expected output is 'b'?
but when looking at the test cases at the bottom, it is clear enough I feel.
the last '\n' at the end
See the example in the description again, there is no
\n
at the end. I've added a value to the tests to avoid error messages being truncated.I don't get it. expected '0,1,2,3,45\n10,11,12,13,14\n20,21,22,…' to equal '0,1,2,3,45\n10,11,12,13,14\n20,21,22,…'? why my kata is failing?
Nice kata!
Because your code is throwing a string instead of an error. Google a little or search MDN docs.
I am getting this Error - 'Error: the string "Expected New Average is too low" was thrown, throw an Error :)'. Any idea what does it mean?
This comment is hidden because it contains spoiler information about the solution
Loading more items...