Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

capitalize first carater js

String.prototype.capitalize = function() {
  return this.charAt(0).toUpperCase() + this.slice(1)
}
Source by flaviocopes.com #
 
PREVIOUS NEXT
Tagged: #capitalize #carater #js
ADD COMMENT
Topic
Name
2+6 =