Javascript String firstToUpper()

Description

Javascript String firstToUpper()


String.prototype.firstToUpper = function() {
    return this.charAt(0).toUpperCase() + this.slice(1);
}



PreviousNext

Related