Converts the first character of string to upper case.
The string that is to be changed
const convertedStr1 = upperFirst('fred') // returns 'Fred'const convertedStr2 = upperFirst('Fred') // returns 'Fred'const convertedStr3 = upperFirst('FRED') // returns 'FRED' Copy
const convertedStr1 = upperFirst('fred') // returns 'Fred'const convertedStr2 = upperFirst('Fred') // returns 'Fred'const convertedStr3 = upperFirst('FRED') // returns 'FRED'
Alias