Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const primeraLetraMayuscula = (cadena) => {
const primerCaracter = cadena.charAt(0).toUpperCase();
const restoDeLaCadena = cadena.substring(1, cadena.length);
return primerCaracter.concat(restoDeLaCadena);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment