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 www.techighness.com #
 
PREVIOUS NEXT
Tagged: #capitalize #string #javascript
ADD COMMENT
Topic
Name
1+8 =