Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

capital first letter react

let fLCapital = s => s = s.charAt(0).toUpperCase() + s.slice(1);
fLCapital('this is a test') // "This is a test"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #capital #letter #react
ADD COMMENT
Topic
Name
9+8 =