diff options
| author | Johnny Reina <[email protected]> | 2017-10-02 05:19:03 -0500 |
|---|---|---|
| committer | Johnny Reina <[email protected]> | 2017-10-02 05:19:03 -0500 |
| commit | d53a8b3cd0db3cceb722dc82f0ca2c63022e1380 (patch) | |
| tree | 86ef7f3a4f2c86c3995d51c57818a307718b4756 /lib | |
| parent | 33bef84f8a83623b4ca0da926f9553d2d521d3ed (diff) | |
| download | faker-d53a8b3cd0db3cceb722dc82f0ca2c63022e1380.tar.xz faker-d53a8b3cd0db3cceb722dc82f0ca2c63022e1380.zip | |
Updates lorem.word description for length parameter.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lorem.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lorem.js b/lib/lorem.js index 16b1a4bd..aad1ae50 100644 --- a/lib/lorem.js +++ b/lib/lorem.js @@ -11,7 +11,7 @@ var Lorem = function (faker) { * generates a word of a specified length * * @method faker.lorem.word - * @param {number} length length of the word that should be returned + * @param {number} length length of the word that should be returned. Defaults to a random length */ self.word = function (length) { var hasRightLength = function(word) { return word.length === length; }; |
