Converts the first character of string to upper case.
string
The string to convert.
Returns the capitalised string.
capitalise('hello, world!')// => 'Hello, world!' Copy
capitalise('hello, world!')// => 'Hello, world!'
Converts the first character of
string
to upper case.