Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

capitalize a string javascript

const Capitalize = function(string){
  return string[0].toUpperCase + string.slice(1).toLowerCase;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #capitalize #string #javascript
ADD COMMENT
Topic
Name
7+7 =