Javascript String toUpperCaseFirst()

Description

Javascript String toUpperCaseFirst()


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



PreviousNext

Related