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.
No response from the user.
I'm not sure what you're talking about. Which language?
When call the log the return value I get 'Finish' but I still get the error: "Should return Finish - Expected: "Finish", instead got: nil". The last line of my code is returning 'Finish' not nil
e.g just console.log(array1, array2) in the function body - in the case of javascript
I am asking for the two arrays passed in as argument to method. I want to know what is causing this error
/runner/frameworks/ruby/cw-2.rb:60:in `ensure in block in describe': Expected: true, instead got: false (Test::Error)
No worries, this is just a note for users learning Scala.
Bad excuse: I am not the Scala translator. I think he has wanted to follow other languages tests. Sorry.
Note for
Scala
users, working withnull
goes against the language idioms.Print the input.
My code won't pass the fourth test. It says that these tests are in the discription but my code passed all the tests in the description when I ran them myself. How can I see the array a and b that are passed in as an argument to the method in the fourth test. I would like to debug and see where I am going wrong.
Using drop_while is not mandatory in this kata, you can do it in some other ways, see Solutions page (your own solution didn't use it). And what you have to do is stated in the description. If it's not clear enough for you, propose a better description.
I thought codewars had self contained description. In the description, it says 'If you need help, here's a reference', instead it should be 'You need help to understand what I just wrote, visit this link'.
There is a link to a reference of that function in the kata description, I don't know how could you get lost.
Bad explanation. If I didn't know drop_while already existed in core library, I would have been lost.
This kata's test is allocating some extra memory I didn't ask for