diff options
| author | Luiz Strobelt <[email protected]> | 2020-10-01 00:28:36 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-10-01 00:28:36 -0300 |
| commit | 5df3678f842383855c53a4c14d39a20deb64f7cc (patch) | |
| tree | 3b9fb614af27c68cfae7cdf76929069f8935ec0c /lib/commerce.js | |
| parent | 27f4878ab3d989cdddec9df99802fe2150730ba2 (diff) | |
| parent | 91dc8a3372426bc691be56153b33e81a16459f49 (diff) | |
| download | faker-5df3678f842383855c53a4c14d39a20deb64f7cc.tar.xz faker-5df3678f842383855c53a4c14d39a20deb64f7cc.zip | |
Merge pull request #1 from Marak/master
Update to latest base branch
Diffstat (limited to 'lib/commerce.js')
| -rw-r--r-- | lib/commerce.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/commerce.js b/lib/commerce.js index 79316256..6de8ffb9 100644 --- a/lib/commerce.js +++ b/lib/commerce.js @@ -113,6 +113,15 @@ var Commerce = function (faker) { return faker.random.arrayElement(faker.definitions.commerce.product_name.product); }; + /** + * productDescription + * + * @method faker.commerce.productDescription + */ + self.productDescription = function() { + return faker.random.arrayElement(faker.definitions.commerce.product_description); + }; + return self; }; |
