Javascript String lcfirst()

Description

Javascript String lcfirst()


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

Javascript String lcfirst()

String.prototype.lcfirst = function() {
  return this.charAt( 0 ).toLowerCase() + this.substr( 1 );
};

Javascript String lcfirst()

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

Javascript String lcfirst()

String.prototype.lcfirst = function(){
    return this.charAt(0).toLowerCase() + this.substring(1, this.length);
}



PreviousNext

Related