Javascript String firstChar()

Description

Javascript String firstChar()


String.prototype.firstChar = function() {
  return this.substring(0, 1);
};



PreviousNext

Related