rafaelmaeuer
10/9/2017 - 1:24 PM

How do I make the first letter of a string uppercase in JavaScript? - From https://stackoverflow.com/questions/1026069/how-do-i-make-the-fir

How do I make the first letter of a string uppercase in JavaScript? - From https://stackoverflow.com/questions/1026069/how-do-i-make-the-first-letter-of-a-string-uppercase-in-javascript

function capitalizeFirstLetter(string) {
    return string.charAt(0).toUpperCase() + string.slice(1);
}