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.
what a crazy code lol. Just utilize slice method to create a totally new array.🤔😴😴🤩
abra-cadabra
interessting !
it's in the 'status' variable
where is offline status
nice :)
The old solution sorts on the stringified ( by implicit coercion ) subarray, instead of the property name.
"compare on first" seems perfectly readable to me, and it is explicit and correct.
May I know why? Your old solution is more readable and easier to understand.
It can be done: https://kazk.github.io/codewars.com/cookbook/testing/restricting-solution/