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.
I never knew there was an endsWith method! So concise, love it
Was about to comment the same thing!
Using just one count variable is great, very clever
Nice use of array destructuring.
I like the detailed comments, makes it clear to read.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I'm shocked, never knew it could be done in 1 line! Very smart, kudos from me
I like it, nice and readable