aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarak <[email protected]>2018-09-24 21:32:39 -0400
committerGitHub <[email protected]>2018-09-24 21:32:39 -0400
commitfab40fc06ca67134db0a311f45328e6dbd6a4fa5 (patch)
treef0612fb19c597147849bec39208ba849fa464d8b /lib
parent49d49c51ff66661dec866b7e8b7f4a380bfcdec5 (diff)
parent2bea5ca58e919c693bb9b6718c070b8b9244ffff (diff)
downloadfaker-fab40fc06ca67134db0a311f45328e6dbd6a4fa5.tar.xz
faker-fab40fc06ca67134db0a311f45328e6dbd6a4fa5.zip
Merge pull request #582 from chilicoder/fix/replaceSymbols-JSdoc
Code comments for replaceSymbols extended
Diffstat (limited to 'lib')
-rw-r--r--lib/helpers.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/helpers.js b/lib/helpers.js
index 9bb78267..a602ede6 100644
--- a/lib/helpers.js
+++ b/lib/helpers.js
@@ -56,7 +56,8 @@ var Helpers = function (faker) {
};
/**
- * parses string for symbols (numbers or letters) and replaces them appropriately
+ * parses string for symbols (numbers or letters) and replaces them appropriately (# will be replaced with number,
+ * ? with letter and * will be replaced with number or letter)
*
* @method faker.helpers.replaceSymbols
* @param {string} string