Security update for permissions_by_term
[yaffs-website] / node_modules / uncss / node_modules / lodash / upperFirst.js
1 var createCaseFirst = require('./internal/createCaseFirst');
2
3 /**
4  * Converts the first character of `string` to upper case.
5  *
6  * @static
7  * @memberOf _
8  * @category String
9  * @param {string} [string=''] The string to convert.
10  * @returns {string} Returns the converted string.
11  * @example
12  *
13  * _.upperFirst('fred');
14  * // => 'Fred'
15  *
16  * _.upperFirst('FRED');
17  * // => 'FRED'
18  */
19 var upperFirst = createCaseFirst('toUpperCase');
20
21 module.exports = upperFirst;