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
I did exactly the same)
Added sample tests in JS
Now I realise the code after the first OR is redundant, the solution works without it.
Either add a console log to your function:
console.log(arguments);
Or just log the each argument out individually. Can be quite lengthy with 200 random tests, but you should be able to find the ones that are failing.
Need test cases and flesh out the instructions a little more. Not very clear.
JS version: If anyone is getting a random error it will most likely be bacause one of the submit tests is getCount(' ~_,.' <>=[]/`!@#$%^&*(){}?:;-=+| '). It took a while to work out where it was failing. This would be a good one to add as a standard test case.