Created
November 20, 2019 07:05
-
-
Save zzuhan/a6560a844cfe7fa745adf4bab727d7e2 to your computer and use it in GitHub Desktop.
util #javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function capitalizeFirstLetter(string) { | |
return string.charAt(0).toUpperCase() + string.slice(1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment