keep only first alphaber capital in string js code example
Example: js first letter to uppercase
function capitalizeFirstLetter(name) {
return name.replace(/^./, name[0].toUpperCase())
}
function capitalizeFirstLetter(name) {
return name.replace(/^./, name[0].toUpperCase())
}