Javascript String upperCaseFirst()

Description

Javascript String upperCaseFirst()


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



PreviousNext

Related