It will convert the first character of the string to uppercase.
string
1.0.0
upperFirst('fred'); // => 'Fred' Copy
upperFirst('fred'); // => 'Fred'
upperFirst('FRED'); // => 'FRED' Copy
upperFirst('FRED'); // => 'FRED'
upperFirst('frED'); // => 'FrED' Copy
upperFirst('frED'); // => 'FrED'
It will convert the first character of the
stringto uppercase.