The word pangram comes from the Greek for all letters (pan = ALL + grámma = LETTER). A pangram is a series of words which contains all the letters of the alphabet.
The Quick Brown Fox Jumps Over The Lazy Dog
A Pen by Vlad Bezden on CodePen.
The word pangram comes from the Greek for all letters (pan = ALL + grámma = LETTER). A pangram is a series of words which contains all the letters of the alphabet.
The Quick Brown Fox Jumps Over The Lazy Dog
A Pen by Vlad Bezden on CodePen.
console.clear() | |
const text = 'The Quick Brown Fox Jumps Over The Lazy Dog' | |
Array.from([...text.toLowerCase()] | |
.reduce((p, c) => (p.set(c, (p.get(c) || 0) + 1), p), new Map()) | |
.entries()) | |
.sort((a, b) => a[0].localeCompare(b[0])) | |
.forEach(x => console.log(x)) |