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.
Everyone wants to boil JavaScript down to one-liners but doing that will force you to violate the DRY principle. The conversion to LC in this code should have been stored in a scoped variable so you do not have to repeat yourself and spend the extra cycles converting the string multiple times. Sometimes more is better.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution