to capital leather javascript code example
Example: to capital case javascript
const toCapitalCase = (string) => {
return string.charAt(0).toUpperCase() + string.slice(1);
};
const toCapitalCase = (string) => {
return string.charAt(0).toUpperCase() + string.slice(1);
};