aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFotoVerite <[email protected]>2014-05-17 15:24:24 -0400
committerFotoVerite <[email protected]>2014-05-17 15:24:24 -0400
commitdaa95b3a4f3eb5131970271be3820ddb45d30022 (patch)
tree7d4a4840d008518fdbcb77af49ac70ede9b875c9 /lib
parent67edd4b29e2c4336da96da777e1c65deba158ce7 (diff)
downloadfaker-daa95b3a4f3eb5131970271be3820ddb45d30022.tar.xz
faker-daa95b3a4f3eb5131970271be3820ddb45d30022.zip
Adds female and male name methods. #NOTE they will return a random name and working as intended.
Diffstat (limited to 'lib')
-rw-r--r--lib/name.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/name.js b/lib/name.js
index 48759dcf..d66e13af 100644
--- a/lib/name.js
+++ b/lib/name.js
@@ -5,6 +5,15 @@ var _name = {
return Faker.random.first_name();
},
+ //Working as intended
+ firstNameFemale: function () {
+ return Faker.random.first_name();
+ },
+ //Working as intended
+ firstNameMale: function () {
+ return Faker.random.first_name();
+ },
+
lastName: function () {
return Faker.random.last_name();
},