There’s a Javascript library by Andrew Plotkin for this sort of thing that handles ‘a/an’ and capitalization and leaves your code less repetitive, etc.
Weird, I just found this random helpful post, marked as down-voted by me and with a strong aversion attached. Fixed the vote, but can’t figure out if the aversion is a bug or a feature.
There’s a Javascript library by Andrew Plotkin for this sort of thing that handles ‘a/an’ and capitalization and leaves your code less repetitive, etc.
Weird, I just found this random helpful post, marked as down-voted by me and with a strong aversion attached. Fixed the vote, but can’t figure out if the aversion is a bug or a feature.