4 lines
98 B
Plaintext
4 lines
98 B
Plaintext
export function capitalize(str: string) {
|
|
return str.replace(str[0], str[0].toUpperCase())
|
|
}
|