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.
There do not appear to be specific tests for solution's handling of capitalisation, something like
("A b","C a") -> ["a"]
. Same for allowed and disallowed punctuation, I think.Also, having running phrases is nice, but for debugging, starting with simpler, artificial inputs is better.
You need lots more tests if you want to reliably discern conforming from non-conforming solutions.
No random tests.
Initial code should compile.
Also, giving inputs and output, if possible with type hints, would be nice.
Something like
function solution(string0,string1) { return [ "word" ]; }
.