Last active
December 16, 2018 23:07
-
-
Save ingeit/7109d6bae039284f90f0980c5724487c to your computer and use it in GitHub Desktop.
primer letra mayuscula Capital Letter
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
const capitalizeString = value => value.split(" ") | |
.map(str => str.charAt(0).toUpperCase() + str.slice(1)) | |
.join(" "); | |
export { capitalizeString }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment