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.
repeatedly converting the input string to lowercase
oops, I see that this has already been mentioned
Should be
const
, notlet
. Otherwise, I can't fault this.Javascript does not guarantee object property order so I don't think this is a reliable solution.
See https://stackoverflow.com/a/5525820/2964461