MyCapitalize
EasyImplement MyCapitalize which capitalizes the first letter of a string.
TypeScript•UTF-8
Run your code to see results.
Click the Run button above
MyCapitalize
EasyImplement MyCapitalize which capitalizes the first letter of a string.
Examples:
Input 1: type Result = MyCapitalize<"hello">
Output 1: "Hello"
Output
Run your code to see results.