Given a string, convert the first character to uppercase.

// input:
const s = 'hello world'

// output:
'Hello world'

Test Cases

Loading...
/* output */

Next