blob: b907e0a2e1eaccfc69e4f385b16be6ade5a2218d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
export function concat(xs: string[]): string {
return xs.join('');
}
export function capitalize(s: string): string {
return toUpperCase(s.charAt(0)) + toLowerCase(s.slice(1));
}
export function toUpperCase(s: string): string {
return s.toUpperCase();
}
export function toLowerCase(s: string): string {
return s.toLowerCase();
}
|