toUpper string method 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)