Capitalizes the first character of a string.
Examples: capitalize('hello') // 'Hello' capitalize('über') // 'Über' capitalize('😊hello') // '😊hello'
The string to capitalize
The input string with its first character capitalized
Capitalizes the first character of a string.
Examples: capitalize('hello') // 'Hello' capitalize('über') // 'Über' capitalize('😊hello') // '😊hello'