Javascript String toUpperFirst()

Description

Javascript String toUpperFirst()


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



PreviousNext

Related