Capitalizes the first letter of a string.
The string to capitalize.
The capitalized string.
capitalize('hello'); // 'Hello' Copy
capitalize('hello'); // 'Hello'
Capitalizes the first letter of a string.