Skip to content
JavaScript function that returns the indefinite articles "a" or "an" based on a given word or phrase.
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Dec 19, 2011
README.mkd Initial commit Dec 19, 2011
indefinite-article.js changed function assignment and adjusted tests. Dec 19, 2011
test.html changed function assignment and adjusted tests. Dec 19, 2011
test.js replaced tabs to white space characters in tests.js Dec 19, 2011

README.mkd

#Overview

indefinite-article.js is a JavaScript function that returns the indefinite articles "a" or "an" based on a given word or phrase. The code is a port from the Lingua::EN::Inflect Perl module found on this stackoverflow question

#Credit

indefinite-article.js was developed by @rigoneri

You can’t perform that action at this time.