Answers for "change the first alfabet caps js"

1

js first letter to uppercase

function capitalizeFirstLetter(name) {
    return name.replace(/^./, name[0].toUpperCase())
}
Posted by: Guest on April-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language