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
hmmm ok, thanks, has sort method stability been fixed in more recents node versions tho ? Why am I having the right answer in my VScode ?
This comment is hidden because it contains spoiler information about the solution
thanks guys !!!
I forgot the return before the recursiv call of my function. Not sure to understand yet why it's needend though, since there is a return in the if condition that should be call at the end of the recursion. Anyway, I won't forget the return before recursiv call in the future. And thanks for the tip about the global var, it was just a patch to prevent infinite recursion.
Thanks again and have a nice day ;)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution