Skip to content

Commit

Permalink
update documentation of array_element
Browse files Browse the repository at this point in the history
  • Loading branch information
deepflame committed Dec 16, 2014
1 parent daa9f44 commit 5999362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/random.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var random = {

},

// takes an array and returns the array randomly sorted
// takes an array and returns a random element of the array
array_element: function (array) {
array = array || ["a", "b", "c"];
var r = faker.random.number({ max: array.length - 1 });
Expand Down

0 comments on commit 5999362

Please sign in to comment.