Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

capitalize mdn

let string = "hello World!";

let capitalizedString = string[0].toUpperCase() + string.slice(1);

// capitalizedString => Hello World!
Comment

PREVIOUS NEXT
Code Example
Javascript :: js reverse linked list 
Javascript :: how to set a timeout on an array element 
Javascript :: javascript filter array multiple values 
Javascript :: javascript child element selector 
Javascript :: “javascript remove last element from array 
Javascript :: js int to string base 
Javascript :: onclick arrow function javascript 
Javascript :: async function syntax in javascript 
Javascript :: falsy values js 
Javascript :: javascript dom to image 
Javascript :: toastr options 
Javascript :: how to count the rows of gridview in asp.net using jquery 
Javascript :: using regex in javascript 
Javascript :: map method in react 
Javascript :: javascript bind this to anonymous function 
Javascript :: split string every nth characters javascript 
Javascript :: How to set up ejs 
Javascript :: string remove last two characters javascript 
Javascript :: js append to array 
Javascript :: Material-ui add alarm icon 
Javascript :: string length in javascript 
Javascript :: react make setstate synchronous 
Javascript :: react buffer to image 
Javascript :: xlsx to csv javascript 
Javascript :: jasmine sample code 
Javascript :: Difference in months between two dates in Javascript 
Javascript :: js maths 
Javascript :: react got error need to enable javascript 
Javascript :: nodejs delete object key 
Javascript :: react style css image 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =