DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
to capital case javascript
const toCapitalCase = (string) => { return string.charAt(0).toUpperCase() + string.slice(1); };
Source by flaviocopes.com #
PREVIOUS
NEXT
Tagged:
#capital
#case
#javascript
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit