how to find number capital letters in a string javascript code example
Example: how to capitalize string in javascript
const name = 'flavio'
const nameCapitalized = name.charAt(0).toUpperCase() + name.slice(1)
const name = 'flavio'
const nameCapitalized = name.charAt(0).toUpperCase() + name.slice(1)