summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/strings/ucfirst.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/strings/ucfirst.js')
-rw-r--r--node_modules/locutus/php/strings/ucfirst.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/locutus/php/strings/ucfirst.js b/node_modules/locutus/php/strings/ucfirst.js
deleted file mode 100644
index 595f980..0000000
--- a/node_modules/locutus/php/strings/ucfirst.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-module.exports = function ucfirst(str) {
- // discuss at: http://locutus.io/php/ucfirst/
- // original by: Kevin van Zonneveld (http://kvz.io)
- // bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)
- // improved by: Brett Zamir (http://brett-zamir.me)
- // example 1: ucfirst('kevin van zonneveld')
- // returns 1: 'Kevin van zonneveld'
-
- str += '';
- var f = str.charAt(0).toUpperCase();
- return f + str.substr(1);
-};
-//# sourceMappingURL=ucfirst.js.map \ No newline at end of file