Fix description for capitalized example

This commit is contained in:
parroty 2021-12-31 21:06:04 +09:00
parent bafc781cc3
commit 50d48eca5e

View File

@ -30,7 +30,7 @@ Example: `XyZzY` -> `XYZZY`
### `capitalized`
`inputStr.charAt(0).toUpperCase() + inputStr.slice(1)`
`inputStr.charAt(0).toUpperCase() + inputStr.slice(1).toLowerCase()`
Example: `XyZzY` -> `Xyzzy`