mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Add toLowerCase
This commit is contained in:
parent
223fb7cbd3
commit
7e247086b9
@ -1,7 +1,11 @@
|
||||
export function capitalize(s: string): string {
|
||||
return toUpperCase(s.charAt(0)) + s.slice(1).toLowerCase();
|
||||
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user