diff --git a/README.md b/README.md index f6f3e2a..35d2d69 100644 --- a/README.md +++ b/README.md @@ -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`