From d53a8b3cd0db3cceb722dc82f0ca2c63022e1380 Mon Sep 17 00:00:00 2001 From: Johnny Reina Date: Mon, 2 Oct 2017 05:19:03 -0500 Subject: Updates lorem.word description for length parameter. --- lib/lorem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; }; -- cgit v1.2.3