Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

to capital case javascript

const toCapitalCase = (string) => {
    return string.charAt(0).toUpperCase() + string.slice(1);
};
 
PREVIOUS NEXT
Tagged: #capital #case #javascript
ADD COMMENT
Topic
Name
4+4 =