Created
November 15, 2021 13:25
-
-
Save Scarbous/568bda5929ac1096073eb7a9d9318b36 to your computer and use it in GitHub Desktop.
Add ucfirst to 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
String.prototype.ucfirst = function() { return this.charAt(0).toUpperCase() + this.slice(1); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment