DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
first letter string uppercase javascript
String.prototype.capitalize = function() { return this.charAt(0).toUpperCase() + this.slice(1); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#letter
#string
#uppercase
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit