diff options
| author | Marak <[email protected]> | 2014-12-25 13:09:49 +0100 |
|---|---|---|
| committer | Marak <[email protected]> | 2014-12-25 13:09:49 +0100 |
| commit | fbe14140730f9609be7430dd867df7def959e30a (patch) | |
| tree | 3420c9bf15c13fda4c836c77136d7d7cc1c0a2e7 /lib | |
| parent | daa9f442797525c9547c329665b4e9107b41d375 (diff) | |
| parent | 5999362dc1abfd4a9f1e478bc6373af1b518f9e8 (diff) | |
| download | faker-fbe14140730f9609be7430dd867df7def959e30a.tar.xz faker-fbe14140730f9609be7430dd867df7def959e30a.zip | |
Merge pull request #151 from deepflame/patch-1
[minor] update description of array_element
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/random.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/random.js b/lib/random.js index a4bc1858..76cfbe90 100644 --- a/lib/random.js +++ b/lib/random.js @@ -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 }); |
