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.
Print the input.
Yes.
it's usually pretty useful for katas with tests that don't describe themselves to include a line in the beginning of your method that prints the input
I got same problem on same test case, after print out x and y.
x = 'abc', y = 'ac', instead of accept 'a' or 'c',
Result:
Expected: ac, instead got: c
is this correct?
you can write:
console.log(x);
console.log(y);
at the beginning of your function,then you can see the parameters when you run test cases