Answers for "in javascript, a function to capitilize the first word in sentence"

0

js capitalize word

const capitalizeFirstLetter(string) => 
	string.charAt(0).toUpperCase() + string.slice(1).toLowerCase()
Posted by: Guest on December-27-2020

Code answers related to "in javascript, a function to capitilize the first word in sentence"

Code answers related to "Javascript"

Browse Popular Code Answers by Language