Answers for "js to-case"

0

convert to small case in javascript

let str = "Hello World!";
str.toLowerCase();
Posted by: Guest on July-09-2021
1

to capital case javascript

const toCapitalCase = (string) => {
    return string.charAt(0).toUpperCase() + string.slice(1);
};
Posted by: Guest on February-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language