Pangram validator in one lineMonday, November 6th, 2023 at 2:36 pm
const isPangram = s => new Set( s.toLowerCase().replace(/[^a-z]/g, '') ).size === 26;
I’ve also put together a small tool for myself to write pangrams and check them whilst I type. You can see it in action here:
Do you have a shorter solution?