capitalize char in js code example
Example: capitalize a string javascript
const Capitalize = function(string){
return string[0].toUpperCase + string.slice(1).toLowerCase;
}
const Capitalize = function(string){
return string[0].toUpperCase + string.slice(1).toLowerCase;
}