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.
This comment is hidden because it contains spoiler information about the solution
Well, this is a common trick (but how you could not come up with a one line solution when you have the more powerful eval)
Nvm, once you see it, you cannot forget it o_O
Thanks mate :D
Very efficient as well ;)
I am indeed :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks for your post!
Yes. Error was due to my test for an empty array not working. Sorry for wasting your time, (I now need to find out why the test didn't work).
I don't know why myself and bhaviksheth were unable to view the results of the basic test or log the inputs.
This comment is hidden because it contains spoiler information about the solution
But you succeeded!
I'm getting the same result as bhaviksheth. (60 passed and one error).
I'm also unable to expand the basics tests (where the error is) and I receive the following message at the bottom of the output screen.
My code handles the empty array case.
Thanks for creating the Kata.
Did you push the Red arrow? You should have something like that (it is an example of what I got):
or if you console.log the input:
In your code you could console.log the input.
You can print your input (console.log) and so see what it was.
Loading more items...