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.
Yes, it is.
Is it solveable in JavaScript?
I could make some really hard katas if we are going to go with weird language tricks that should not be used. You can do crazy things with proxies or Object.defineProperty with globalThis.
Nice for object oriented programming.
Additional random tests have been added.
Mutating the input has been addressed via coppying the randomized array and create a fixed structure from it.
Thank you for your contribution, I've address these issues.
The random tests are not random at all, they just shuffles the same input and run multiple times.
Also, mutating the input breaks all the tests, because there are no fixed tests.
Hi,
the initial solution contains two typos:
..., typed; ...
->..., type: ...
I'm getting this with the full test suite:
Oooh, that's funny.
Quite cheeky.
I've adjusted the tests to account of manipulation of the original array.
https://www.codewars.com/kata/reviews/65a0921e3e02f70001ea7376/groups/65a17fcacc516d0001105ac5
Found the issue and have resolved it.
Thank you for you contribution.
Verbage updated.
Thank you for you contribution.
This comment is hidden because it contains spoiler information about the solution
Good Suggestion, configuration has been added
Please add
chai.config.truncateThreshold = 0;
to the test code, otherwise the expected and actual values are hidden.Loading more items...