DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript name capitalization
function capitalizeName(name) { return name.replace(/(w)/g, s => s.toUpperCase()); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#capitalization
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit