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.
A) but... that's the specification...
3*3 + 2*'\n'
= 11 chars, just as expected.B) replaceAll is available in node 15+. CW's node environment is at most 14 (for now).
It's not always easy to understand the error messages - here the 82/82 means that is how many tests you completed before the time-out limit (of 12seconds/12000ms).
In fact there are 100 large random tests, so you are missing 18 out of 100. Your code needs to be a bit faster, or - more likely - you need a more efficient general approach.
edit- there are 100 large random tests in Python, I just noticed you are working in JavaScript so exact number might be different - in any case, the general comment is correct. Probably your approach is too inefficient, and the kata wants you to find a faster way to solve it.