Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js capitalize word

const capitalizeFirstLetter(string) => 
	string.charAt(0).toUpperCase() + string.slice(1).toLowerCase()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #capitalize #word
ADD COMMENT
Topic
Name
2+3 =