DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+4 =
Submit