You are viewing a single comment's thread. Return to all comments →
Here's my Javascript / Typescript solution (Thank you ES6+)
const ABC = "abcdefghijklmnopqrstuvwxyz".split(""); function pangrams(s: string): string { const incomingString = s.toLowerCase().split(""); const allMatches = ABC.every(letter => incomingString.includes(letter)) return allMatches ? "pangram" : "not pangram"; }
Seems like cookies are disabled on this browser, please enable them to open this website
Pangrams
You are viewing a single comment's thread. Return to all comments →
Here's my Javascript / Typescript solution (Thank you ES6+)