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.
In your code, this line does not make sense,
Array.isArray()
takes a single parameter:it is the return value of
advice()
that you have to checkIs this kata still workable? I'm trying to figure out the logic of the kata with hard coded values. I'm executing the advice(2,5,8) whenever the args is array or not. But for some reason advice is behaving differently for the same call => advice(2,5,8).
This is an issue
There are no sample tests.
added
damn..
This description was somewhat confusing: "If the advising function returns an array, THE ARRAY should replace the arguments passed to the original method". I understood that THE ARRAY itself (as a whole array) should be passed as a one argument to the original method. It turns out kata required to pass not the array itself but the elements of that array (...array) as arguments to the original method.
My solution didn't pass, I unlocked the solutions and checked them - each of the solutions fails, it outputs: "Solution: should test for something". I guess it's due to the lack of tests. Why make a kata without tests, a kata which can't verify any solution? What's the point?
So how to pass such a kata? Do I need to make up my own tests and input them in the test window, to check my solution? The problem is a have no clue how to write tests LOL.
Anyways, at least I learned something from this kata. My solution was correct, just wasn't able to test it.
Calling a given function with a given argument is now a kata? Really?
.
Re-raised as an issue.
The description is impossible to understand.
Should be updated to support Node 12.
Description is very unclear
Needs sample tests
Loading more items...