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.
Not a kata suggestion.
Your code is too slow, not a kata issue.
Node 18 is currently the latest available version across the entire website. It requires the admins to update any further than that, but no further updates will be made until all JS kata are updated to node 18. There are compatibility issues with some of the older kata, so those need to be fixed first. There is an effort to get all the JS kata updated, you can join the discord and ask for more info.
This caught me out too. It would be good if the node version was updated but I don't know how to do this.
Read the error message that you get.
toSorted()
is not available in node 18 (which is the highest version of node available for this kata). You'll have to find a solution that does not usetoSorted()
.