Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

to capital case javascript

const toCapitalCase = (string) => {
    return string.charAt(0).toUpperCase() + string.slice(1);
};
Comment

snentence case capitalisation js

const string = "tHIS STRING'S CAPITALISATION WILL BE FIXED."
const string = string.charAt(0).toUpperCase() + string.slice(1)
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript map max value 
Javascript :: autocomplete is not working in jsx file vs code 
Javascript :: npm ERR! code EJSONPARSE 
Javascript :: dynamic style react 
Javascript :: ionic status bar color 
Javascript :: javascript get value 
Javascript :: add css on click javascript 
Javascript :: javascript check how many times value in array 
Javascript :: js new date short format 
Javascript :: how to add oAuth google signin in react native app 
Javascript :: javascript copy some properties from one object to another 
Javascript :: how to define state in react function 
Javascript :: javascript get parent element height javascript 
Javascript :: nodejs array buffer to buffer 
Javascript :: substring javascript 
Javascript :: 2d array to 1d array javascript 
Javascript :: server status minecraft javascript 
Javascript :: how to load image from dir nodejs 
Javascript :: find object in array by property javascript 
Javascript :: angular loop 
Javascript :: concantene number in js 
Javascript :: javascript object to query params 
Javascript :: styled components import google font 
Javascript :: update chart js with new data 
Javascript :: how to convert array into string in js 
Javascript :: how to remove an object from jsonobject in java 
Javascript :: javascript take last n elements of array 
Javascript :: npm registry 
Javascript :: javascript get device width 
Javascript :: localstorage clear item 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =