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 get these erros:
first handler calls - Expected: 1, instead got: undefined
first handler arguments - Expected: '[1, 2, 3, 'first', undefined, false]', instead got: 'undefined'
I can't understand it because when I log the handler function it shows that its args property has the correct values inside an array and its call property is 1.
Hi,
I didn't mean to imply that there was something wrong with the kata. I was just confused by the random tests. Thanks for the tip about printing the input to the console.
Okay, this is strange. I am getting a type error for an undefined object property but each time I run the attempt I pass a different number tests, even without changing the code. Doesn't it always run the same tests? How can I be passing 20 tests in some runs and 0 in others with the same code?
I also can't debug the type-erros since I am not being shown the input that produces it. It passes all the sample tests plus more sample inputs I came up with. I can't see why it would produce the type error.
Any suggestions?
Do I sense some sarcasm?
This comment is hidden because it contains spoiler information about the solution