aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/lorem.js2
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; };