Answers for "js tocapital case"

2

tocapitalize javascript

const capitalizeText = (text) =>{
    return text.toLowerCase().charAt(0).toUpperCase()+(text.slice(1).toLowerCase())
}
Posted by: Guest on April-30-2021
1

to capital case javascript

const toCapitalCase = (string) => {
    return string.charAt(0).toUpperCase() + string.slice(1);
};
Posted by: Guest on February-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language