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.
Cause it cost a lot of ressources and it's not the best solution. Clever yes, the best no.
Clever but cost lost of compute in case of long strings.
When you will have complex cases, you will love it :D
Why you want he put a set ? It's work properly like that. Add a set will affect performance.
It will work cause it's not a condition for a panagram. This solution properly work's.
You're not considering all possible cases. You've forgotten about punctuation and other characters like ' or - for example. It's best to remove all special characters that are not part of the target alphabet.
Your solution only works if you add the sentence in your if statement like if string === "....". You need to make a general function that will work for all use cases.