Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Capitalize First Letter

 const capitalize = ([first, ...rest]) => first.toUpperCase() + rest.join("").toLowerCase(); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JavaScript #Capitalize #First #Letter
ADD COMMENT
Topic
Name
7+8 =