Merge pull request #4 from parroty/fix/doc

Fix description for capitalized example
This commit is contained in:
Alex Szczuczko 2021-12-31 07:02:11 -07:00 committed by GitHub
commit ed6bf55433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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`