Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

tocapitalize javascript

const capitalizeText = (text) =>{
    return text.toLowerCase().charAt(0).toUpperCase()+(text.slice(1).toLowerCase())
}
Source by flaviocopes.com #
 
PREVIOUS NEXT
Tagged: #tocapitalize #javascript
ADD COMMENT
Topic
Name
6+2 =