mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-18 06:40:31 -06:00
4 lines
105 B
TypeScript
4 lines
105 B
TypeScript
export function capitalize(str: string): string {
|
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
}
|