first letter capital word code example
Example: make first letter uppercase
const publication = "freeCodeCamp";
publication[0].toUpperCase() + publication.substring(1);
const publication = "freeCodeCamp";
publication[0].toUpperCase() + publication.substring(1);