diff options
| author | Marak <[email protected]> | 2021-02-11 01:24:16 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-11 01:24:16 -0500 |
| commit | 9c8b3249ffa8412d305bea0522d5754f88f000ae (patch) | |
| tree | 665bb0c281ea8a170e5c8da414aed1b80e75d86b /lib/commerce.js | |
| parent | 00f18703af6bf46b0435f4cc9ed1838054a79c1c (diff) | |
| parent | 388b6cd8513b3b73daab5278e539f8f6bb600e12 (diff) | |
| download | faker-9c8b3249ffa8412d305bea0522d5754f88f000ae.tar.xz faker-9c8b3249ffa8412d305bea0522d5754f88f000ae.zip | |
Merge branch 'master' into master
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; }; |
