Created
July 12, 2020 14:32
-
-
Save vasanthv/bf44dd4f35d0ab1ce2a9035b64607a85 to your computer and use it in GitHub Desktop.
Captalize first letter of a string
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 captilize = ([fL, ...rest]) => fL.toUpperCase()+rest.join(""); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment