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.
try using [::-1]
...
No :D
No :D
Do you really need to comment for something like that? :D
Parenthesis adds readability.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
In 7 kyu katas it would be nice to test this aspect specifically with corresponding error messages. Here the test in JS are no more editable because there're too many solutions.
It's not an issue if mutating the array causes tests to go weird.
You shouldn't be mutating anything that doesn't belong to you after all. It's undefined behaviour.
I just ran into this issue while refactoring my code to use reverse()
actually not the same
No