aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/company.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/company.js b/lib/company.js
index 05797c3d..ee248d48 100644
--- a/lib/company.js
+++ b/lib/company.js
@@ -3,7 +3,8 @@ var faker = require('../index');
var company = {
suffixes: function () {
- return ["Inc", "and Sons", "LLC", "Group", "and Daughters"];
+ // Don't want the source array exposed to modification, so return a copy
+ return faker.definitions.company.suffix.slice(0);
},
companyName: function (format) {